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
|
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>
|
||||||
|
|
Loading…
Reference in a new issue