403 Forbidden on root
Posted by: DeathfireD (---.hsd1.nh.comcast.net)
Date: August 17, 2010 02:50AM

I set WAMP up to listen on port 5121 and 80 which is working..for the most part anyway. It wasn't till recently that I noticed that by going to my server root (http://ordway.ath.cx) without adding the port 5121 to the end of the address results in a 403 forbidden message. As soon as I add the 5121 to the end (http://ordway.ath.cx:5121) it loads right up.

httpd has the follow

Listen 80
Listen 5121

ServerName: localhost:80
DocumentRoot "c:/wamp/www/"

I did try removing the :80 from the ServerName but that didn't solve the problem.
Has anyone encountered this and know how to fix it?



Edited 3 time(s). Last edit at 08/17/2010 03:19AM by DeathfireD.

Options: ReplyQuote
Re: 403 Forbidden on root
Posted by: stevenmartin99 (---.251.255.11.threembb.ie)
Date: August 17, 2010 06:33AM

Maybe IIS is enabled

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: 403 Forbidden on root
Posted by: yfastud (Moderator)
Date: August 17, 2010 01:20PM

or worst, your isp track and see that you have more outgoing traffic than incoming so they assume you have server and block port 80; remember, most isp dont allow non-business to have server

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: 403 Forbidden on root
Posted by: DeathfireD (---.hsd1.nh.comcast.net)
Date: August 18, 2010 01:01AM

IIS is definitely not enabled.

I actually thought it was my ISP at first since I wasn't able to connect to any of my sites on port 80 from an outside computer but then I realized It was just my hardware firewall blocking outside traffic.

I still believe apache is the cause of this. There must be some setting that I'm missing.

Options: ReplyQuote
Re: 403 Forbidden on root
Posted by: yfastud (Moderator)
Date: August 18, 2010 01:16AM

Quote

I realized It was just my hardware firewall blocking outside traffic.
did you add exception for wamp in all firewall/antivirus???

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: 403 Forbidden on root
Posted by: DeathfireD (---.hsd1.nh.comcast.net)
Date: August 18, 2010 01:46AM

ya, if that was the case then I wouldn't be able to view any pages outside of my network right? This problem only happens when going to the root folder using port 80. Port 5121 works fine on the root.

Options: ReplyQuote
Re: 403 Forbidden on root
Posted by: DeathfireD (---.hsd1.nh.comcast.net)
Date: August 21, 2010 12:49AM

Noticed I cant access it on [localhost] either.

Options: ReplyQuote
Re: 403 Forbidden on root
Posted by: yfastud (Moderator)
Date: August 22, 2010 07:09AM

when use localhost w/o port, it understood to use standard web port 80; however, as mentioned above, a lot of ISP might block port 80 to prevent non-business subscribers to run a web server; in additions, if you think it's something about your firewall hardware or so, just enable thing 1 by 1 until you enable everything and if still not working on port 80, then it's definitely your ISP; btw, remember that some routers dont support NAT, so you cant test your site w/i your LAN but must be from outside

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: 403 Forbidden on root
Posted by: DeathfireD (---.hsd1.nh.comcast.net)
Date: August 23, 2010 12:44AM

yfastud, it's definitely not my ISP. I've checked with them to make and they've assured me port 80 isn't blocked. Like I mentioned above my initial problem was that my hardware firewall was set to block port 80 traffic. I fixed that, every page loads fine on both port 80 and 5121 from within my network and from outside lines. The root does not load at all on port 80 though for internal or external connections. localhost also does not load either. The only way to get to the root site is to use my DNS and port 5121 ordway.ath.cx:5121 . This leads me to believe that there's something wrong with apache's httpd file.

So to summarize
- It's not my ISP
- Not my hardware firewall
- Not windows firewall
- localhost does not work
- the only way to reach root (ie. localhost) is to use ordway.ath.cx:5121 even though port 80 works on everything else.

Options: ReplyQuote
Re: 403 Forbidden on root
Posted by: stevenmartin99 (---.251.255.11.threembb.ie)
Date: August 23, 2010 06:18AM

If localhost doesn't work / what colour is ur wamp icon and did u try [127.0.0.1]

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: 403 Forbidden on root
Posted by: DeathfireD (---.hsd1.nh.comcast.net)
Date: August 25, 2010 03:59AM

the wamp icon is white and is online.

Here's the rundown.
- Trying 127.0.01, localhost, and ordway.ath.cx on the server itself gives me 403 forbidden errors.
- Trying 127.0.01:5121, localhost:5121, and ordway.ath.cx:5121 on the server itself loads the root fine with no errors at all.
- Trying ordway.ath.cx on a pc within my network gives 403 forbidden errors.
- Trying ordway.ath.cx:5121 on a pc within my network loads the page fine.

It's as if httpd is blocking port 80 traffic just on the root site. If I go to ordway.ath.cx/somefolder/ it loads fine.

Options: ReplyQuote
Re: 403 Forbidden on root
Posted by: yfastud (Moderator)
Date: August 25, 2010 02:35PM


Options: ReplyQuote
Re: 403 Forbidden on root
Posted by: DeathfireD (---.hsd1.nh.comcast.net)
Date: August 30, 2010 03:58AM

Problem solved. It had to do with having dummy VH's setup. Once I removed those everything worked fine.

Thanks guys.

Options: ReplyQuote


Sorry, only registered users may post in this forum.