Skip to content

Commit cea56e3

Browse files
committed
Small mods to vhost configuration and installer.
1 parent 871b338 commit cea56e3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ public function configure_apache()
611611
exec('mkdir -p /var/log/ispconfig/httpd');
612612

613613
if(is_file('/etc/suphp/suphp.conf')) {
614-
replaceLine('/etc/suphp/suphp.conf','application/x-httpd-php=php:/usr/bin/php-cgi','x-httpd-suphp=php:/usr/bin/php-cgi',0);
614+
replaceLine('/etc/suphp/suphp.conf','php=php:/usr/bin/php-cgi','x-httpd-suphp=php:/usr/bin/php-cgi',0);
615615
replaceLine('/etc/suphp/suphp.conf','docroot=','docroot=/var/clients',0);
616616
}
617617

server/conf/vhost.conf.master

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@
4949
</tmpl_if>
5050
<tmpl_if name='php' op='==' value='suphp'>
5151
<Directory {tmpl_var name='web_document_root'}>
52-
# suphp enabled
53-
suPHP_Engine on
54-
# suPHP_UserGroup <tmpl_var name='system_user'> <tmpl_var name='system_group'>
55-
AddHandler x-httpd-suphp .php .php3 .php4 .php5
56-
suPHP_AddHandler x-httpd-suphp
57-
</Directory>
52+
# suphp enabled
53+
suPHP_Engine on
54+
# suPHP_UserGroup <tmpl_var name='system_user'> <tmpl_var name='system_group'>
55+
AddHandler x-httpd-suphp .php .php3 .php4 .php5
56+
suPHP_AddHandler x-httpd-suphp
57+
</Directory>
5858
</tmpl_if>
5959
<tmpl_if name='php' op='==' value='cgi'>
6060
# php as cgi enabled

0 commit comments

Comments
 (0)