|
Posted by Michael on 12/28/05 06:40
Jerry,
Thanks for your help. I guess I'm a little confused about localhost. It
seems that if I open a file in the browser at
http:/localhost/myFile.html, it actually refers to the file
/var/www/html/myFile.html. So it seems there are two meanings to
localhost? In one context it refers to the local machine via ip
address 127.0.0.1, and in the context of the browser, (with Apache
running?), localhost refers to a specifc directory path on the local
machine. This is why I'm confused. Can you shed any light on this?
Thanks,
M. McDonnell
P.S., my /etc/host file looks ok (see below).
================/etc/host file ================
Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 McDonnell localhost.localdomain localhost
==========================================
[Back to original message]
|