Skip to content
Snippets Groups Projects
Commit f8d8a4ed authored by jmontoya's avatar jmontoya
Browse files

Adding <IfModule mod_suphp.c> condition see FS#1278

parent a5f7c0a6
No related branches found
No related tags found
No related merge requests found
...@@ -126,6 +126,7 @@ ...@@ -126,6 +126,7 @@
<tmpl_if name='php' op='==' value='suphp'> <tmpl_if name='php' op='==' value='suphp'>
# suphp enabled # suphp enabled
<Directory {tmpl_var name='web_document_root'}> <Directory {tmpl_var name='web_document_root'}>
<IfModule mod_suphp.c>
suPHP_Engine on suPHP_Engine on
# suPHP_UserGroup <tmpl_var name='system_user'> <tmpl_var name='system_group'> # suPHP_UserGroup <tmpl_var name='system_user'> <tmpl_var name='system_group'>
<tmpl_if name='has_custom_php_ini'> <tmpl_if name='has_custom_php_ini'>
...@@ -133,6 +134,7 @@ ...@@ -133,6 +134,7 @@
</tmpl_if> </tmpl_if>
AddHandler x-httpd-suphp .php .php3 .php4 .php5 AddHandler x-httpd-suphp .php .php3 .php4 .php5
suPHP_AddHandler x-httpd-suphp suPHP_AddHandler x-httpd-suphp
</IfModule>
</Directory> </Directory>
</tmpl_if> </tmpl_if>
<tmpl_if name='php' op='==' value='cgi'> <tmpl_if name='php' op='==' value='cgi'>
......
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