Marc Schütz
2014-03-11 8c9637651fb0e2bd16a631b841314d1eb4c5ea96
openSUSE uses /srv/www instead of /var/www

Therefore, replace the directories in the Apache config upon installation.

This functionality used to be there, but evidently got lost in this commit:
ccbf1497dde4aef031a39544235a284641e694de
1 files modified
4 ■■■ changed files
install/dist/lib/opensuse.lib.php 4 ●●● patch | view | raw | blame | history
install/dist/lib/opensuse.lib.php
@@ -1141,7 +1141,9 @@
            
            $tpl->setVar('apache_version',getapacheversion());
            wf($vhost_conf_dir.'/ispconfig.vhost', $tpl->grab());
            $content = $tpl->grab();
            $content = str_replace('/var/www/', '/srv/www/', $content);
            wf($vhost_conf_dir.'/ispconfig.vhost', $content);
            //if(!is_file('/srv/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter')) {
            $content = rfsel($conf['ispconfig_install_dir'].'/server/conf-custom/install/apache_ispconfig_fcgi_starter.master', 'tpl/apache_ispconfig_fcgi_starter.master');