にここ"このサーバーで/index.phpにアクセスする権限がありません。" 64 WAMP 3
# Virtual Hosts
#
<Directory c:/wamp/www/testdir>
Options +Indexes +FollowSymLinks +Multiviews
AllowOverride all
Require local
</Directory>
<VirtualHost *:80>
ServerAdmin <emailaddress>
DocumentRoot "c:/wamp/www/testdir/"
ServerName prerelease.mydomain.com
DirectoryIndex index.php
ErrorLog "logs/prerelease.mydomain.com-error.log"
CustomLog "logs/prerelease.mydomain.com-access.log" common
</VirtualHost>
#
WAMP 3(Apacheの/ 2.4.23(Win64の)PHP/7.0.10 mod_fcgid/localhostのポート80で2.3.9サーバ)を使用して唯一の追加(私のhttpd.confです標準のファイルの末尾にこれらの行は)
LoadModule fcgid_module modules/mod_fcgid.so
FcgidInitialEnv PHPRC "C:/wamp/bin/php/php7.0.10"
AddHandler fcgid-script .php
FcgidWrapper "C:/wamp/bin/php/php7.0.10/php-cgi.exe" .php
<IfModule fcgid_module>
FcgidIOTimeout 1200
FcgidConnectTimeout 1200
FcgidBusyScanInterval 1200
FcgidBusyTimeout 1200
FcgidErrorScanInterval 1200
FcgidIdleScanInterval 1200
FcgidIdleTimeout 1200
FcgidProcessLifeTime 3600
FcgidZombieScanInterval 1200
MaxRequestLen 15728640
FcgidMaxRequestLen 15728640
</IfModule>
私はここで20以上のスレッドを読んで、無駄に数多くのソリューションを試している必要があります。
上記のすべては、以前のバージョンのWAMP(Apache 2.4.9、PHP 5.5.12、同じmod_fcgid.soファイル)で動作しました。
<Directory c:/wamp/www/testdir>
Options +Indexes +FollowSymLinks +Multiviews
AllowOverride all
Allow from all
</Directory>
へ
仮想ホストを 'Allow from all'に変更し、' 'で' Require local'を削除するとどうなりますか? –
今すぐ試してみてください。同じ結果。 –
[このメッセージにアクセスする権限がありません]というエラーメッセージが表示される可能性があります(https://stackoverflow.com/questions/10873295/error-message-forbidden-you-dont-have-permission-このサーバーにアクセスする) –