From e97eee54c397e4b4bd4d044bb7124a8b0b5b82bd Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Tue, 05 Oct 2010 10:40:02 -0400 Subject: [PATCH] Disabled reordering of IP addresses, so that the main IP is always eth0 and not a virtual interface of it. --- server/plugins-available/apache2_plugin.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php index 135f549..80d6849 100644 --- a/server/plugins-available/apache2_plugin.inc.php +++ b/server/plugins-available/apache2_plugin.inc.php @@ -927,7 +927,7 @@ $web_config = $app->getconf->get_server_config($conf["server_id"], 'web'); //* Check if this is a chrooted setup - if($web_config['website_basedir'] != '' && @is_file($web_config['/var/www'].'/etc/passwd')) { + if($web_config['website_basedir'] != '' && @is_file($web_config['website_basedir'].'/etc/passwd')) { $apache_chrooted = true; } else { $apache_chrooted = false; -- Gitblit v1.9.1