403 Forbidden error when accessing from public ip
Posted by: Suronix (---.4-1.cable.virginm.net)
Date: June 01, 2016 02:46AM

Hi there,

The 6 questions answered:

1 - Windows version used --windows 7 ultimate 64 bit
2 - Version WampServer -- 3.0.4 64 bit
3 - Apache Version--2.4.18
4 - PHP Version--5.6.19
5 - MySQL Version--5.7.11
6 - What color is the WampServer icon--Green

The problem is that i can access the server from using my local ip, but when it comes to me trying to access the server using its public IP i'm getting this "Forbidden,You don't have permission to access / on this server."

Httpd.conf contents are:

ServerRoot "c:/wamp/bin/apache/apache2.4.18"

Define APACHE24 Apache2.4

#Listen 12.34.56.78:80
Listen 0.0.0.0:80
Listen [::0]:80

User daemon
Group daemon

ServerName 192.168.0.19:80

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

HostnameLookups Off

DocumentRoot "c:/wamp/www"
<Directory "c:/wamp/www/">

Options +Indexes +FollowSymLinks
AllowOverride all
# onlineoffline tag - don't remove
Require all granted
</Directory>

<IfModule dir_module>
DirectoryIndex index.php index.php3 index.html index.htm
</IfModule>

<Files ".ht*">
Require all denied
</Files>

<Directory "c:/wamp/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>

<IfModule mime_module>

AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3

</IfModule>

EnableSendfile off

AcceptFilter http none
AcceptFilter https none

<IfModule proxy_html_module>
Include conf/extra/proxy-html.conf
</IfModule>

<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

Include "c:/wamp/alias/*"

Thank you.



Edited 1 time(s). Last edit at 06/01/2016 02:58AM by Suronix.

Options: ReplyQuote
Re: 403 Forbidden error when accessing from public ip
Posted by: Suronix (---.4-1.cable.virginm.net)
Date: June 01, 2016 03:08AM

Never mind i have fixed this problem. Thanks

Options: ReplyQuote
Re: 403 Forbidden error when accessing from public ip
Posted by: RiggsFolly (Moderator)
Date: June 01, 2016 10:52AM

Would you like to tell us and others that find this question, How you Fixed this!

---------------------------------------------------------------------------------------------
(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
Re: 403 Forbidden error when accessing from public ip
Posted by: SimonT (---.lightspeed.stlsmo.sbcglobal.net)
Date: June 15, 2016 01:09AM

Yes - tell us what you changed to resolve the problem.

Someone may have the same problem and search here only to find that you fixed it but didn't say how you fixed it.


It is simply common etiquette to come back and post what steps you took to resolve a problem - whether posting here or on any other programming forum on the web.

Options: ReplyQuote


Sorry, only registered users may post in this forum.