C:\wamp\bin\apache\apache2.4.2\conf\httpd.conf
如果使用的是httpd-2.2x版本请使用下面的配置
注意“Allow from all”
1
2
3
4
5
6
|
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
|
如果使用的是http-2.4x版本,请使用如下配置:
注意:“Require all granted”
<Directory />
AllowOverride none
#Require all denied
Require all granted
</Directory>
DocumentRoot "D:/wamp/www/"
<directory wamp="" www="">
....
#Require local
Order Deny,Allow
Allow from all
Allow from 127.0.0.1
</directory>
Wamp -> 重新啟動所有服務
WAMP error: Forbidden You don't have permission to access /phpmyadmin/ on this server
Change the file content of
c:\wamp\alias\phpmyadmin.conf
to the following.<Directory "D:/wamp/apps/phpmyadmin3.5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
#Require local
Allow from all
</Directory>
沒有留言:
張貼留言
注意:只有此網誌的成員可以留言。