Add more paranoia
This commit is contained in:
parent
d9ce522e0a
commit
7499ed408c
1 changed files with 14 additions and 2 deletions
|
@ -1,8 +1,20 @@
|
|||
SetHandler none
|
||||
SetHandler default-handler
|
||||
Options -Indexes
|
||||
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
|
||||
<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
|
||||
Header set Content-Disposition attachment
|
||||
</Files>
|
||||
|
|
Loading…
Reference in a new issue