[omd-commits] OMD Git: omd: Revert "Apache listens now on localhost, not on 127.0.0. 1 anymore - fixes #149"

git version control git at mathias-kettner.de
Wed Dec 29 15:25:11 CET 2010


Module: omd
Branch: master
Commit: 15ee001d2f4013bf226a85ef493f028c666aec28
URL:    http://omdistro.org/projects/omd/repository/revisions/15ee001d2f4013bf226a85ef493f028c666aec28

Author: Sven Nierlein <sven at nierlein.de>
Date:   Wed Dec 29 15:24:29 2010 +0100

Revert "Apache listens now on localhost, not on 127.0.0.1 anymore - fixes #149"

This reverts commit f326715d0291602971990ccb0e1acc53d43e6e84.

---

 packages/apache-omd/APACHE_TCP_PORT.hook |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/packages/apache-omd/APACHE_TCP_PORT.hook b/packages/apache-omd/APACHE_TCP_PORT.hook
index 6771c7a..ac78692 100755
--- a/packages/apache-omd/APACHE_TCP_PORT.hook
+++ b/packages/apache-omd/APACHE_TCP_PORT.hook
@@ -54,13 +54,13 @@ EOF
         cat <<EOF > $OMD_ROOT/etc/apache/listen-port.conf
 # This file is created by 'omd config set APACHE_TCP_PORT'. 
 # Better do not edit manually
-Listen localhost:$PORT
+Listen 127.0.0.1:$PORT
 EOF
         cat <<EOF > $OMD_ROOT/etc/apache/proxy-port.conf
 # This file is created by 'omd config set APACHE_TCP_PORT'. 
 # Better do not edit manually
 <IfModule mod_proxy_http.c>
-  <Proxy http://localhost:$PORT/$OMD_SITE>
+  <Proxy http://127.0.0.1:$PORT/$OMD_SITE>
     Order allow,deny
     allow from all
   </Proxy>
@@ -68,8 +68,8 @@ EOF
   <Location /$OMD_SITE>
     # Setting "retry=0" to prevent 60 second caching of problem states e.g. when
     # the site apache is down and someone tries to access the page.
-    ProxyPass http://localhost:$PORT/$OMD_SITE retry=0
-    ProxyPassReverse http://localhost:$PORT/$OMD_SITE
+    ProxyPass http://127.0.0.1:$PORT/$OMD_SITE retry=0
+    ProxyPassReverse http://127.0.0.1:$PORT/$OMD_SITE
   </Location>
 </IfModule>
 EOF



More information about the omd-commits mailing list