Subject: Apache web server and default page
To: None <netbsd-users@NetBSD.ORG>
From: Stephane Legrand <stephane@lituus.fr>
List: netbsd-users
Date: 04/23/1997 21:07:53
Hello.

I'm using Apache 1.0.5 with virtual hosts and i've a problem with the
default page.

If i go to www.virtual.fr (with Netscape 2.0.1), i've only the list of the
directory /usr/local/etc/httpd/htdocs/virtual.

I've a file index.html in this directory and this virtual domain is
correctly set to /usr/local/etc/httpd/htdocs/virtual in httpd.conf like
this :

<VirtualHost IP_address>
       ServerAdmin webmaster@virtual.fr
       DocumentRoot /usr/local/etc/httpd/htdocs/virtual
       ServerName www.virtual.fr
       ErrorLog logs/virtual.fr-error_log
       TransferLog logs/virtual.fr-error_log
</VirtualHost>

in srm.conf :

DirectoryIndex index.html

in access.conf :

<Directory /usr/local/etc/httpd/htdocs/virtual>
        Options Indexes FollowSymLinks
        AllowOverride All
        <Limit GET>
                order allow, deny
                allow from all
        </Limit>
</Directory>


So, why i don't have the file index.html with the location www.virtual.fr ?

Is it a bug ? or may i do something wrong ?

Thanks.

Stephane.