pulling in entire conf directory
[eostre.git] / drupal-configs / shopserver / apache2 / mods-enabled / php5.conf
... / ...
CommitLineData
1<FilesMatch ".+\.ph(p[345]?|t|tml)$">
2 SetHandler application/x-httpd-php
3</FilesMatch>
4<FilesMatch ".+\.phps$">
5 SetHandler application/x-httpd-php-source
6 # Deny access to raw php sources by default
7 # To re-enable it's recommended to enable access to the files
8 # only in specific virtual host or directory
9 Order Deny,Allow
10 Deny from all
11</FilesMatch>
12# Deny access to files without filename (e.g. '.php')
13<FilesMatch "^\.ph(p[345]?|t|tml|ps)$">
14 Order Deny,Allow
15 Deny from all
16</FilesMatch>
17
18# Running PHP scripts in user directories is disabled by default
19#
20# To re-enable PHP in user directories comment the following lines
21# (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it
22# prevents .htaccess files from disabling it.
23<IfModule mod_userdir.c>
24 <Directory /home/*/public_html>
25 php_admin_flag engine Off
26 </Directory>
27</IfModule>