Dan Yamins wrote:
Hi, I'm trying to set up a virtual host on a new OS10.5.6 machine.
I'm using settings that I run on several other OSX machines (also
10.5.6) and they work fine, but for some reason fail on this machine .
The goal is set up the virtual host in the directory
/Users/dad/research/dataenv. The virtual host name is
"DataEnvironment".
[snip]
To me, the error message from Safari seems more like a "I can't resolve
this hostname" error as opposed to a "this site won't load error". First
try doing a "ping DataEnvironment" to see if it correctly resolves to
"127.0.0.1". If not, it means your hosts file is either not being read
or your DNS is screwy.
If the ping comes back successfully, then check your Apache access log
and error log to make sure the request is being properly seen and if
it's producing any errors. You can also add the following directive to
your config file to avoid the warning on start-up.
NameVirtualHost 127.0.0.1:80
This will also ensure that Apache tries to server up your VirtualHost
entry when the Host: header is "DataEnvironment" (as opposed to falling
back to the default site).
--
Justin Pasher
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org