Skip to content
Snippets Groups Projects
Commit 8c963765 authored by Marc Schütz's avatar Marc Schütz
Browse files

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:
ccbf1497
parent dc5aefbd
No related branches found
No related tags found
2 merge requests!88Fix Update errors,!71Use /srv/www instead of /var/www for openSUSE
...@@ -1141,7 +1141,9 @@ class installer_dist extends installer_base { ...@@ -1141,7 +1141,9 @@ class installer_dist extends installer_base {
$tpl->setVar('apache_version',getapacheversion()); $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')) { //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'); $content = rfsel($conf['ispconfig_install_dir'].'/server/conf-custom/install/apache_ispconfig_fcgi_starter.master', 'tpl/apache_ispconfig_fcgi_starter.master');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment