On 9/15/06, Number <[EMAIL PROTECTED]> wrote:
________________________________________
[...]
DocumentRoot "/var/www/html/number/www"
[...]
<Directory "/">
Options -Indexes FolloSymLinks
AllowOverride None
</Directory>
[...]
<Directory "/var/www/html/number/www">
Options -Indexes FollowSymLinks
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
[...]
Alias /icons/ "/var/www/icons/"
<Directory "/var/www/icons/">
Options Indexes Multiview
AllowOverride None
Order allow,deny
Allow from all
</Directory>
[...]
NameVirtualHost *:80
<VirtualHost *:80>
Options Indexes
ServerName monserveur.be
ServerAlias files.monserveur.be
DocumentRoot /var/www/html/number/files/
</VirtualHost>
[...]
A few problems here. First, never mix "+/-" and non-"+/-" options
together on the same Options line. It doesn't make any sense since
having any non-"+/-" options automatically indicates that options are
reset to None before adding the listed options. See:
http://httpd.apache.org/docs/2.2/mod/core.html#options
More importantly for your problem, the order that directives are
applied is not the same as the config-file order. It is specified
here:
http://httpd.apache.org/docs/2.2/sections.html#mergin
In particular, options inside <Directory> sections are applied after
Options specified in a bare <VirtualHost> section. So to get what you
want, put the following inside the <VirtualHost> section:
<Directory /var/www/html/number/files>
Options Indexes
</Directory>.
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]