From a2838f4bd7347cc73d47b366ca98e15006098570 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Thu, 15 Sep 2011 17:34:16 +0300 Subject: [PATCH] new apache configuration concept --- func/domain_func.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/func/domain_func.sh b/func/domain_func.sh index fcabb04a..f64e1994 100644 --- a/func/domain_func.sh +++ b/func/domain_func.sh @@ -813,10 +813,12 @@ namehost_ip_support() { if [ "$WEB_SSL" = 'mod_ssl' ]; then web_ssl_port=$(get_config_value '$WEB_SSL_PORT') sed -i "$conf_ins i NameVirtualHost $ip:$web_ssl_port" $conf + sed -i "$conf_ins i Listen $ip:$web_ssl_port" $conf fi web_port=$(get_config_value '$WEB_PORT') sed -i "$conf_ins i NameVirtualHost $ip:$web_port" $conf + sed -i "$conf_ins i Listen $ip:$web_port" $conf # Checking proxy support if [ "$PROXY_SYSTEM" = 'nginx' ]; then @@ -838,6 +840,7 @@ namehost_ip_disable() { #Checking web system if [ "$WEB_SYSTEM" = 'apache' ]; then sed -i "/NameVirtualHost $ip:/d" $conf + sed -i "/Listen $ip:/d" $conf # Checking proxy support if [ "$PROXY_SYSTEM" = 'nginx' ]; then