hi everyone,
this directive is mysterious for me ...
I have a test virtualHost to understand this directive:
<VirtualHost 193.52.112.79>
Port 80
ServerName toto.presidence.univ-nantes.fr
ServerAdmin root@miles.presidence.univ-nantes.fr
DocumentRoot /var/www/html
ErrorLog logs/error_log
DirectoryIndex index.html index.htm
<Directory /var/www/html>
Options All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
I have index.html and index.htm under /var/www/html and when I change
the order of files in the DirectoryIndex directive, it doesn't change
anything when I try the URL http://toto.presidence.univ-nantes.fr, it
always redirects to index.htm.
Be sure I've read the manual and questionned the bug database ...
Can anyone confirm me that this directive is used when the URL ends with
a "/" and telles apache to look for a filename in the DocumentRoot
directory, such as index.html or index.htm in my case ?
Maybe some other directives can influence the process ?
Has anyone a tip ?
thanks in advance.
--
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mail: julien.oix@presidence.univ-nantes.fr
---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org
this directive is mysterious for me ...
I have a test virtualHost to understand this directive:
<VirtualHost 193.52.112.79>
Port 80
ServerName toto.presidence.univ-nantes.fr
ServerAdmin root@miles.presidence.univ-nantes.fr
DocumentRoot /var/www/html
ErrorLog logs/error_log
DirectoryIndex index.html index.htm
<Directory /var/www/html>
Options All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
I have index.html and index.htm under /var/www/html and when I change
the order of files in the DirectoryIndex directive, it doesn't change
anything when I try the URL http://toto.presidence.univ-nantes.fr, it
always redirects to index.htm.
Be sure I've read the manual and questionned the bug database ...
Can anyone confirm me that this directive is used when the URL ends with
a "/" and telles apache to look for a filename in the DocumentRoot
directory, such as index.html or index.htm in my case ?
Maybe some other directives can influence the process ?
Has anyone a tip ?
thanks in advance.
--
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mail: julien.oix@presidence.univ-nantes.fr
---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org