summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.htaccess3
-rw-r--r--docs/en/xml/installation.xml11
2 files changed, 9 insertions, 5 deletions
diff --git a/.htaccess b/.htaccess
index 4b06fe9a9..27f478afd 100644
--- a/.htaccess
+++ b/.htaccess
@@ -2,6 +2,9 @@
<FilesMatch ^(.*\.pm|.*\.pl|.*localconfig.*)$>
deny from all
</FilesMatch>
+
+Options -Indexes
+
<IfModule mod_expires.c>
<IfModule mod_headers.c>
<IfModule mod_env.c>
diff --git a/docs/en/xml/installation.xml b/docs/en/xml/installation.xml
index 8c5c29b8e..18de454b9 100644
--- a/docs/en/xml/installation.xml
+++ b/docs/en/xml/installation.xml
@@ -1056,19 +1056,20 @@ SetEnv LD_LIBRARY_PATH /u01/app/oracle/product/10.2.0/lib/
<programlisting>
&lt;Directory /var/www/html/bugzilla&gt;
AddHandler cgi-script .cgi
-Options +Indexes +ExecCGI
-DirectoryIndex index.cgi
-AllowOverride Limit FileInfo Indexes
+Options +ExecCGI
+DirectoryIndex index.cgi index.html
+AllowOverride Limit FileInfo Indexes Options
&lt;/Directory&gt;
</programlisting>
<para>
These instructions: allow apache to run .cgi files found
within the bugzilla directory; instructs the server to look
- for a file called <filename>index.cgi</filename> if someone
+ for a file called <filename>index.cgi</filename> or, if not
+ found, <filename>index.html</filename> if someone
only types the directory name into the browser; and allows
Bugzilla's <filename>.htaccess</filename> files to override
- global permissions.
+ some global permissions.
</para>
<note>