22 lines
617 B
Plaintext
22 lines
617 B
Plaintext
<IfModule mod_php4.c>
|
|
php_flag engine Off
|
|
</IfModule>
|
|
<IfModule mod_php5.c>
|
|
php_flag engine Off
|
|
</IfModule>
|
|
<IfModule mod_php6.c>
|
|
php_flag engine Off
|
|
</IfModule>
|
|
<IfModule mod_cgi.c>
|
|
Options -ExecCGI
|
|
</IfModule>
|
|
|
|
RemoveHandler .cgi .pl .py .pyc .pyo .phtml .php .php3 .php4 .php5 .php6 .pcgi .pcgi3 .pcgi4 .pcgi5 .pchi6 .inc
|
|
RemoveType .cgi .pl .py .pyc .pyo .phtml .php .php3 .php4 .php5 .php6 .pcgi .pcgi3 .pcgi4 .pcgi5 .pchi6 .inc
|
|
SetHandler None
|
|
SetHandler default-handler
|
|
|
|
# Remove both lines below if you want to render HTML files from the upload folder
|
|
AddType text/plain .html
|
|
AddType text/plain .htm
|