Hi,

I'm using httpd 2.2.3-22 on centos 5.

Aliases defined in my httpd.conf are inherited inside all my virtualhost. It seemed to me that aliases were'nt inherited.
Is it normal ? How to prevent this behaviour ?

When i access http://myserver1.myorganisation.fr it display my vhost document. -> normal behaviour

But

When i access http://myserver1.myorganisation.fr/icons/, i get a the icons directory listing from the alias defined
outside the Virtualhost.

My conf :

DocumentRoot "/var/toto"
Alias /icons/ "/var/www/icons/"

<Directory "/var/www/icons">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

<VirtualHost *:80>
    ServerAdmin x...@aol.com
    DocumentRoot "/var/www/test"
    ServerName www.myorganisation.fr
    ServerAlias myserver1.myorganisation.fr myserver2.myorganisation.fr
</VirtualHost>

--
Eric PEYREMORTE
Technicien informatique - IUT de Valence
Tel : 04.75.41.88.37


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

Reply via email to