Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
002c4d66
Commit
002c4d66
authored
Mar 04, 2009
by
tbrehm
Browse files
Disable PHP per website.
parent
7b28dadb
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/conf/vhost.conf.master
View file @
002c4d66
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment