Afficher un message
Vieux 01/06/2007, 23h21   #2
David
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Apache 2.2 and DirectoryIndex

mtuller wrote:
> I have ColdFusion running on Linux with Apache 2.2. When I go to a
> directory, it does not open the index.cfm files automatically as it
> would with index.html or index.php. I looked in the apache2.conf file
> for DirectoryIndex so that I could set index.cfm as a default, but I
> can't find it. I use to be able to set that in Apache 1.3 and I
> thought in 2.0.
>
> How can I add this now?
>
>
> Mike
>

I found it in my httpd.conf file

# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents. The MultiViews Option can be used for the
# same purpose, but it is much slower.
#

<IfModule mod_include.c>
<IfModule mod_dir.c>
DirectoryIndex index.shtml
</IfModule>
</IfModule>

<IfModule mod_dir.c>
DirectoryIndex index.html index.html.var index.cgi index.pl
index.htm Default.htm default.htm index.xml
</IfModule>
  Réponse avec citation
 
Page generated in 0,04854 seconds with 9 queries