Skip to content

Commit 05b8eaa

Browse files
committed
Fixed: FS#979 - Path to web-dir not adjusted for apps
1 parent 971fb33 commit 05b8eaa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,6 +1015,7 @@ public function configure_apps_vhost()
10151015
$content = str_replace('{apps_vhost_ip}', $conf['web']['apps_vhost_ip'], $content);
10161016
$content = str_replace('{apps_vhost_port}', $conf['web']['apps_vhost_port'], $content);
10171017
$content = str_replace('{apps_vhost_dir}', $conf['web']['website_basedir'].'/apps', $content);
1018+
$content = str_replace('{website_basedir}', $conf['web']['website_basedir'], $content);
10181019
$content = str_replace('{apps_vhost_servername}', $apps_vhost_servername, $content);
10191020

10201021

install/tpl/apache_apps.vhost.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ NameVirtualHost *:{apps_vhost_port}
1818
Options Indexes FollowSymLinks MultiViews +ExecCGI
1919
AllowOverride AuthConfig Indexes Limit Options FileInfo
2020
AddHandler fcgid-script .php
21-
FCGIWrapper /var/www/php-fcgi-scripts/apps/.php-fcgi-starter .php
21+
FCGIWrapper {website_basedir}/php-fcgi-scripts/apps/.php-fcgi-starter .php
2222
Order allow,deny
2323
Allow from all
2424
</Directory>

0 commit comments

Comments
 (0)