When i try to access WAMP from my mobile i got this error:
<VirtualHost *:80>
ServerName localhost
DocumentRoot c:/wamp64/www
<Directory "c:/wamp64/www/">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
3. Allow ports
Controlpanel -- windows firewall -- advanced setting -- inbound rules -- ports -- all local or port 80
Forbidden You don't have permission to access / on this server
then i insert Require all granted into 2 files :
1. C:\wamp64\bin\apache\apache2.4.18\conf\httpd
DocumentRoot "C:/wamp/www"
<Directory />
Options None
AllowOverride None
Require all granted
</Directory>
<Directory C:/wamp/www>
Options None
AllowOverride All
Require all granted
</Directory>
2. C:\wamp64\bin\apache\apache2.4.18\conf\extra\httpd-vhosts
ServerName localhost
DocumentRoot c:/wamp64/www
<Directory "c:/wamp64/www/">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
3. Allow ports
Controlpanel -- windows firewall -- advanced setting -- inbound rules -- ports -- all local or port 80
0 Comments:
Post a Comment