Commit 98cfe5dd authored by tbrehm's avatar tbrehm
Browse files

Fixed bug #459: [Tue Jan 20 00:04:54 2009] [error] VirtualHost *:80 -- mixing...

Fixed bug #459: [Tue Jan 20 00:04:54 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
parent 7b26e85b
......@@ -701,6 +701,12 @@ class installer_base {
replaceLine('/etc/suphp/suphp.conf','docroot=','docroot=/var/clients',0);
}
if(is_file('/etc/apache2/sites-enabled/000-default')) {
replaceLine('/etc/apache2/sites-available/000-default','NameVirtualHost *','NameVirtualHost *:80',1);
replaceLine('/etc/apache2/sites-available/000-default','<VirtualHost *>','<VirtualHost *:80>',1);
}
//* Copy the ISPConfig configuration include
$vhost_conf_dir = $conf['apache']['vhost_conf_dir'];
$vhost_conf_enabled_dir = $conf['apache']['vhost_conf_enabled_dir'];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment