wamp error via network

Asked

Viewed 1,389 times

-1

Good night.

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

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

I found some changes tutorials in httpd.config file, in apache. In the alias, in Phpmyadmin, however none worked, some even prevent wamp services from being run. I believe the tutorials I found are for previous versions of Wamp.

ps. I’ve disabled the firewall, and it hasn’t solved.

Some solution?

  • Demerit for 'no research effort'? You can banish me for comment if you like, but to me, the person who ran it is crazy, or very clueless. Because you literally have no idea how many forums and tutorials I followed unsuccessfully before posting the doubt here

1 answer

0


In order to help other developers face the same problem, here is the answer:

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

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 row "Require local" by "Require all granted", or if you would like to be more specific, by:

Require local

Require ip 192.168.1.100
Require ip 192.168.1.101

(exchanging the above Ips for the Ips that will access the application)

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.