httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DouRiX <dourix-t...@simicro-internet.mg>
Subject [users@httpd] Options Indexes inside <VirtualHost> ...
Date Tue, 04 Mar 2003 08:36:39 GMT

Hi everybody,

I want to have the Indexes options in my virtual hosts, it works well 
with the config below :

<VirtualHost 1.2.3.4>
DocumentRoot /var/www/htdocs/www.domain.com
ServerName www.domain.com
<Directory "/var/www/htdocs/www.domain.com">
         Options Indexes
</Directory>
</VirtualHost>

To simplify, I want to put Options directly inside <VirtualHost>, since 
I read from http://httpd.apache.org/docs/mod/core.html#options that the 
Option's context contains virtual host, but it doesn't work, it says 
'forbidden' when there's no index.

<VirtualHost 1.2.3.4>
DocumentRoot /var/www/htdocs/www.domain.com
ServerName www.domain.com
Options Indexes
</VirtualHost>

Does someone know why ?

I don't have any Options declared before.

Thanks in advance,

-- 
DouRiX
        ["The generation of random numbers is too important to be left to
                          chance." -- Robert R. Coveyou]



---------------------------------------------------------------------
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