Only allow access to cgi & .gif files

git-svn-id: svn://10.0.0.236/trunk@199527 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cls%seawood.org
2006-06-08 19:03:02 +00:00
parent e804fce92c
commit 5d57f09fad

View File

@@ -46,6 +46,12 @@ This is a quick guide for installing the tinderbox server.
Options FollowSymLinks ExecCGI
AllowOverride None
AddHandler cgi-script .cgi
<FilesMatch "^.*$">
Deny from all
</FilesMatch>
<FilesMatch "\.(cgi|gif)$">
Allow from all
</FilesMatch>
</Directory>
# Deny access to private tree data
<Directory /var/www/html/tinderbox/*/>