Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Localhost works, IP doesnt

Status
Not open for further replies.

ducksinpower

Programmer
Jul 31, 2002
2
US
I just installed Apache on my XP machine and typed in localhost and my email in the install screen. Then, I started apache and went to and the welcome screen came up. I guess things worked.

I went to httpd.conf and changed servername to my IP and then tried and that still worked. But then when I tried I got a popup that asked for my login and password as if i were trying to access a shared directory or something. (I then tried and the same thing happened. And when I tried logging in with my XP password that didnt work, so i hit cancel and got a big red 401 error. Any suggestions? I have no idea why this should be happening. Also, nothing is recorded in my error log at all.

Any help would b e appreciated. Thanks!

Jill
 
I didn't think you need to change anything in your conf file to make resolve to apache. Change what you did in your conf file and see if works. Also, you don't need to type the ":80" after the address unless you changed the default port in the conf. ====================================
I love people. They taste just like
chicken!
 
Well, I changed servername back to localhost but that doesnt work. I still get the XP authentication.

- Jill
 
The obvious question is "Do you have a router?". Most routers have a webinterface for their configuration. If that's running on port 80, noone but you would be able to get to the site. //Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top