projects
/
manu
/
suphp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace AddType by SetHandler to be in sync with libapache2-mod-php5 conf
[manu/suphp.git]
/
debian
/
conf
/
suphp.conf
diff --git
a/debian/conf/suphp.conf
b/debian/conf/suphp.conf
index
edc5a27
..
d422b07
100644
(file)
--- a/
debian/conf/suphp.conf
+++ b/
debian/conf/suphp.conf
@@
-1,6
+1,8
@@
<IfModule mod_suphp.c>
<IfModule mod_suphp.c>
- AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
- suPHP_AddHandler application/x-httpd-php
+ <FilesMatch "\.ph(p3?|tml)$">
+ SetHandlerapplication/x-httpd-suphp
+ </FilesMatch>
+ suPHP_AddHandler application/x-httpd-suphp
<Directory />
suPHP_Engine on
<Directory />
suPHP_Engine on
@@
-13,7
+15,7
@@
</Directory>
# # Use a specific php config file (a dir which contains a php.ini file)
</Directory>
# # Use a specific php config file (a dir which contains a php.ini file)
-# suPHP_ConfigPath /etc/php
4
/cgi/suphp/
+# suPHP_ConfigPath /etc/php
5
/cgi/suphp/
# # Tells mod_suphp NOT to handle requests with the type <mime-type>.
# suPHP_RemoveHandler <mime-type>
</IfModule>
# # Tells mod_suphp NOT to handle requests with the type <mime-type>.
# suPHP_RemoveHandler <mime-type>
</IfModule>