Commit 002c4d66 authored by tbrehm's avatar tbrehm
Browse files

Disable PHP per website.

parent 7b28dadb
......@@ -45,6 +45,32 @@
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</tmpl_if>
<tmpl_if name='php' op='==' value='no'>
<Files ~ '.php$'>
Order allow,deny
Deny from all
Allow from none
</Files>
<Files ~ '.php3$'>
Order allow,deny
Deny from all
Allow from none
</Files>
<Files ~ '.php4$'>
Order allow,deny
Deny from all
Allow from none
</Files>
<Files ~ '.php5$'>
Order allow,deny
Deny from all
Allow from none
</Files>
<Files ~ '.phps'>
Order deny,allow
Allow from all
</Files>
</tmpl_if>
</Directory>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment