Name: remgu Date: May 26, 2005 at 20:58:34 Pacific Subject: HTTP Error 403 - Forbidden OS: Windows XP SP2 CPU/Ram: P4 3.4Ghz 1GB Ram
Comment:
Hi, I am running Apache 2 on windows xp pro. It was running fine and one day, all of a sudden I could not access my website anymore. I made no changes to the server and it runs ok because I am able to view the page locally through localhost but I can't view it from any other computer. Again, no changes were made to the config file.
I have a dynamic IP address and use NO-IP.com's Dynamic Update Client (DUC). I have even updated to the latest version but have had no luck.
Internet Explorer says "HTTP Error 403 - Forbidden" and Firefox says "Directory Listing Denied This Virtual Directory does not allow contents to be listed".
Please help. I am newbie and don't know what to do now.
Oh, one thing...I don't know that it matters but the site was up and then that night we had weird power outages and the next day was when the site stopped working. All of the servers components seem to be ok, all of its network connections are good.
In your virtual host conf file for the site, what are the values, if any, for the following directives: VirtualHost NameVirtualHost
They should look something like this VirtualHost *.80 NameVirtualHost *.80
If you have a specific IP address specified in either directive, remove it and replace it with a *.
Weird power outages can also cause a broadband modem to power cycle and lease a new IP address. Becuase you have a dynamic IP address and your site stopped working spontaneously, I'm guessing that your conf file states an explicit IP address to listen on. When your IP address changed it broke the directive, causing Apache to no longer accept requests for your site.
jimminy, I see what you are saying but my config file does not have any listed IP address. I do have virtual hosts setup but they are set to listen to *80.
I use a Dynamic Update Client from No-IP.com that grab whatever IP the modem gives me and passes it on to teh DNS server.
If you have more advice please keep them comming as I just can't get to teh cause of teh problem.
Check your Apache error log. It will tell you what is being requested, and possibly why it is 403'd. I wouldn't even bother doing anything else until I'd done this.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE