Error in wamp via redelocal

-1

Good evening.

I installed a web system on a machine where I installed Wamp 3.1.0, but when I try to access it through another machine connected to the same network I run into the following error:

"Forbidden.You do not have permission to access this server." - Apache / 2.4.27 (Win64) PHP / 5.6.31 Server at *. . . * * Port 80 "

I found some tutorials changes in the httpd.config file, in apache. In the alias, in PHPMyAdmin, but none worked, some even prevent the wamp services from running. I believe the tutorials I found are for earlier versions of Wamp.

Ps. I already disabled the firewall, and it did not work.

Any solution?

    
asked by anonymous 04.01.2018 / 00:18

1 answer

0

In order to help other developers facing the same problem, here's the answer:

in the file ".. \ wamp \ bin \ apache \ apache **** \ conf \ extra \ httpd-vhosts.conf"

find the code snippet:

<VirtualHost *:80>
    ServerName localhost
    DocumentRoot c:/wamp/www
    <Directory  "c:/wamp/www/">
        Options +Indexes +FollowSymLinks +MultiViews
        AllowOverride All
        Require local
    </Directory>
</VirtualHost>

in the line "Require local" by "Require all granted", or if you want to be more specific, by:

Require local

Require ip 192.168.1.100
Require ip 192.168.1.101

(changing the IPs above by the IPs that will access the application)

PS. This is the correct procedure for Wamp 3.x versions.

    
04.01.2018 / 12:37