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!

Apache config

Status
Not open for further replies.

klaks

Technical User
Oct 17, 2005
2
US
Hi Every one,

It seems like im having trouble configuring Apache2 on Windows XP pro this time.
I changed the httpd.conf file corectly , I mean DocumentRoot and Directory , provide the path to the directory where my index.html. I try to test my page using localhost , but it keeps giving me the apache page instead of mine.

DocumentRoot "C:/website/document"
<Directory "C:/website/document">

I ve done it before , but this time I can't find the solution ,
If anyone know it would be great ,
thanks.

Klaks
 
Clear your browsers cache and don't forget to restart apache any time you make changes to httpd.conf. If you don't want to clear your cache, you might be able to just do a refresh.




 

Thanks,
I kind of figured out, I fact it works when I enter my local IP but not with localhost ...???? which should be the same

KLaks
 
Your local ip is not the same as localhost. The name localhost is associated with the loopback device (127.0.0.1). Usually, your hostname (machine name) is associated with the ip address.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top