You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Beth Curotto <bc...@abni.com> on 2005/06/08 17:28:21 UTC
[users@httpd] VirtualHost & index.htm
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
RE: [users@httpd] VirtualHost & index.htm
Posted by Beth Curotto <bc...@abni.com>.
Thanks to all, again !
Beth
On 6/8/05, Beth Curotto <bc...@abni.com> 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?
DirectoryIndex index.htm
Joshua.
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
Re: [users@httpd] VirtualHost & index.htm
Posted by Joshua Slive <js...@gmail.com>.
On 6/8/05, Beth Curotto <bc...@abni.com> 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?
DirectoryIndex index.htm
Joshua.
---------------------------------------------------------------------
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
Re: [users@httpd] VirtualHost & index.htm
Posted by le...@reuel.net.
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