Apache Forbidden Error
Posted by: GR8R8M8 (172.58.158.---)
Date: January 29, 2017 06:46PM

Currently using WAMP 3.06 w/ Apache 2.4.23. Navigating to localhost on the server computer works perfectly, but when I try to go to the IP of the server on my network or the domain, I get a Forbidden on / error. My httpd.conf file has:

<Directory />
AllowOverride none
Require all denied
</Directory>
Thanks!

Options: ReplyQuote
Re: Apache Forbidden Error
Posted by: RiggsFolly (Moderator)
Date: January 29, 2017 07:07PM

First read this post The Need for Virtual hosts

Now I suggest you create a Virtual Host for each of your test projects.

Within any Projects Virtual Host definition you can then add a definition to allow access from other IP's than the machine you are running WAMPServer on by using an additional line like this under the existing `Require local`

        Require local
        Require ip 192.168.1


This assumes your subnet starts with the first 3 quartiles `192.168.1`


Before allowing any access from outside the PC running WAMPServer please ensure you understand what you are doing

See my signature for links to the Apache manual

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.