On Mon, Dec 31, 2001 at 05:36:22PM -0600, Austin Gonyou wrote:
> If I add a directory to my httpd.conf and restart apache, or I add a
> directory to htdocs, then point my browser as such:
> 
> http://127.0.0.1/somedir
> 
> It hangs until the browser times out. If I do the following though,
> without restarting apache, etc:

My guess is your ServerName is set to something that doesn't exist from
the perspective of your browser. When you request http://127.0.0.1/somedir
it generates a 301 Moved Permanently to whatever was in your ServerName
(plus the path and some other stuff), at which point your browser tries
to resolve that new host. If it cannot it will hang until timeout.

> http://127.0.0.1/somedir/ 

This one doesn't generate a 301 since it is a properly formed URL
(it references a real resource).

> it works. Why is that, and what am I missing. It seems so simple, yet I
> don't understand what option I'm missing. 

-aaron

Reply via email to