]> git.pld-linux.org Git - packages/apache.git/commitdiff
- added anti-relay defaults
authoraredridel <aredridel@pld-linux.org>
Mon, 22 Mar 2004 20:44:45 +0000 (20:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_proxy.conf -> 1.4

apache-mod_proxy.conf

index 69c212b8d437a5bc7d56bf717e0d74c7e06515db..9bc0ad4101acf8b7b5788d86c88d9041e55f7d79 100644 (file)
@@ -10,11 +10,15 @@ LoadModule proxy_http_module    lib/apache/mod_proxy_http.so
 <IfModule mod_proxy.c>
 ProxyRequests On
 #
-#<Proxy *>
-#    Order deny,allow
-#    Deny from all
+#
+# This prevents spammers from using apache as a relay by posting to 
+# http://victim:25/ and sending raw data.
+#
+<Proxy *>
+    Order deny,allow
+    Deny from all
 #    Allow from .your-domain.com
-#</Proxy>
+</Proxy>
 
 #
 # Enable/disable the handling of HTTP/1.1 "Via:" headers.
This page took 0.031072 seconds and 4 git commands to generate.