Apache Problem..... I think

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
icelord
Forum Newbie
Posts: 8
Joined: Sun May 19, 2002 9:19 pm

Apache Problem..... I think

Post by icelord »

I hope someone knows how to solve this one, because it stumps me completely.

I installed Apache (1.3.22), PHP (4.1.2) and MySQL (3.23.49) about 2 months ago when I used to have dialup highspeed DSL service with Bell Canada (Phone Company). Everything ran fine and I was able to type in "http://localhost" and run all my PHP scripts.
Now that I have switched to cable internet connection (no dialing-up required), whenever I type in "http://localhost" , the computer gives me a "500 Server Error" page and it says "BAD URL". I tried instead of "localhost" to type in "127.0.0.1" and even my IP address, but nothing has worked.

If anyone has had a similar problem, or maybe knows why Explorer would give me a 500 Server Error when I try to activate localhost, it would be greatly appreciated :wink:

Ice.
User avatar
mikeq
Forum Regular
Posts: 512
Joined: Fri May 03, 2002 3:33 am
Location: Edinburgh, Scotland

Post by mikeq »

Is the webserver running? Are there any errors in the webserver logs?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Do you have to connect via a proxy server. This type of problem can occur when your browser is not set to bypass the proxy server for local addresses.

Mac
Elfstone
Forum Newbie
Posts: 21
Joined: Tue Jun 11, 2002 2:25 am
Location: NJ, USA

Post by Elfstone »

I'm not entirely sure how Apache is configured, but it is possible it has binded to your old IP address, and when you switched ISP's your IP would have changed. You may want to look into that as well.
Post Reply