[omd-commits] OMD Git: omd: Apache listens now on localhost, not on 127.0.0. 1 anymore - fixes #149
git version control
git at mathias-kettner.de
Mon Dec 6 13:55:54 CET 2010
Module: omd
Branch: master
Commit: f326715d0291602971990ccb0e1acc53d43e6e84
URL: http://omdistro.org/projects/omd/repository/revisions/f326715d0291602971990ccb0e1acc53d43e6e84
Author: Lars Michelsen <lm at mathias-kettner.de>
Date: Mon Dec 6 13:44:51 2010 +0100
Apache listens now on localhost, not on 127.0.0.1 anymore - fixes #149
---
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 ac78692..6771c7a 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 127.0.0.1:$PORT
+Listen localhost:$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://127.0.0.1:$PORT/$OMD_SITE>
+ <Proxy http://localhost:$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://127.0.0.1:$PORT/$OMD_SITE retry=0
- ProxyPassReverse http://127.0.0.1:$PORT/$OMD_SITE
+ ProxyPass http://localhost:$PORT/$OMD_SITE retry=0
+ ProxyPassReverse http://localhost:$PORT/$OMD_SITE
</Location>
</IfModule>
EOF
More information about the omd-commits
mailing list