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
| | |
| | | |
| | | $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'); |