Add more paranoia

This commit is contained in:
kaetemi 2014-09-06 06:49:42 +02:00
parent 23273f2ec3
commit da1e2c7096

View file

@ -1,8 +1,20 @@
SetHandler none
SetHandler default-handler SetHandler default-handler
Options -Indexes
Options -ExecCGI Options -ExecCGI
<IfModule mod_php5.c>
php_flag engine off
</IfModule>
RemoveHandler .cgi .php .php3 .php4 .php5 .phtml .pl .py .pyc .pyo
Options -Indexes
DirectoryIndex disabled DirectoryIndex disabled
<Files *.*> <Files *>
SetHandler none
SetHandler default-handler
Options -ExecCGI
<IfModule mod_php5.c>
php_flag engine off
</IfModule>
RemoveHandler .cgi .php .php3 .php4 .php5 .phtml .pl .py .pyc .pyo
ForceType application/octet-stream ForceType application/octet-stream
Header set Content-Disposition attachment Header set Content-Disposition attachment
</Files> </Files>