Skip to content

Commit 9787a04

Browse files
committed
Fixed FCGI starter script for ispconfig interface.
1 parent 0731a3d commit 9787a04

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,7 @@ public function install_ispconfig()
996996
exec('cp tpl/apache_ispconfig_fcgi_starter.master /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter');
997997
exec('chmod +x /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter');
998998
exec('ln -s /usr/local/ispconfig/interface/web /var/www/ispconfig');
999+
exec('chown -R ispconfig:ispconfig /var/www/php-fcgi-scripts/ispconfig');
9991000

10001001
}
10011002

install/tpl/apache_ispconfig.vhost.master

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ NameVirtualHost *:{vhost_port}
99

1010
<VirtualHost _default_:{vhost_port}>
1111
ServerAdmin webmaster@localhost
12-
DocumentRoot /usr/local/ispconfig/interface/web/
1312

14-
<IfModule mod_fastcgi.c>
13+
<IfModule mod_fcgid.c>
1514
DocumentRoot /var/www/ispconfig/
1615
SuexecUserGroup ispconfig ispconfig
1716
<Directory /var/www/ispconfig/>
@@ -25,6 +24,7 @@ NameVirtualHost *:{vhost_port}
2524
</IfModule>
2625

2726
<IfModule mod_php5.c>
27+
DocumentRoot /usr/local/ispconfig/interface/web/
2828
AddType application/x-httpd-php .php
2929
<Directory /usr/local/ispconfig/interface/web>
3030
Options FollowSymLinks

interface/bin/php-fcgi

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)