Skip to content
Snippets Groups Projects
Commit 002c4d66 authored by tbrehm's avatar tbrehm
Browse files

Disable PHP per website.

parent 7b28dadb
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,32 @@ ...@@ -45,6 +45,32 @@
AddType text/html .shtml AddType text/html .shtml
AddOutputFilter INCLUDES .shtml AddOutputFilter INCLUDES .shtml
Options +Includes 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> </tmpl_if>
</Directory> </Directory>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment