httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@reuel.net
Subject Re: [users@httpd] VirtualHost & index.htm
Date Wed, 08 Jun 2005 15:55:15 GMT
On Wed, Jun 08, 2005 at 10:28:21AM -0500, Beth Curotto wrote:
> Is there a reason why site will only respond properly if I hard code the
> index.htm ?
> 
> Example:
> 
> www.mowingandmore.net     (not good)
> 
> www.mowingandmore.net/index.htm    (page displays correctly)
> 
> Is there a directive I am missing in my VirtualHost information?
> 
> This is current info -
> 
> 
> # Virtual Host 1
> <VirtualHost *:80>
>     ServerAlias www.mowingandmore.net
>     DocumentRoot /var/www/html/mow/
>     ServerName mowingandmore.net
>     ServerSignature email
> </VirtualHost
> 
> HostNameLookups Off
> 
> 
> Thanks in advance for you help, Beth

This might help, look for:

	DirectoryIndex index.html index.php

My Apache/Linux wouldn't see index.htm unless I put it in the URL, but then it worked.

ciao!

leam


---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message