Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
913f68b9
Commit
913f68b9
authored
Aug 29, 2012
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 785511: Prevent directory browsing, especially in docs/ and extensions/
r=dkl a=LpSolit
parent
a3b0a94e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
.htaccess
.htaccess
+3
-0
installation.xml
docs/en/xml/installation.xml
+6
-5
No files found.
.htaccess
View file @
913f68b9
...
...
@@ -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
>
...
...
docs/en/xml/installation.xml
View file @
913f68b9
...
...
@@ -1056,19 +1056,20 @@ SetEnv LD_LIBRARY_PATH /u01/app/oracle/product/10.2.0/lib/
<programlisting>
<
Directory /var/www/html/bugzilla
>
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
<
/Directory
>
</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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment