]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_proxy.conf
- fixes in NameVirtualHost conflict with mod_ssl
[packages/apache.git] / apache-mod_proxy.conf
index cd7d435f34a533e18d903e7682e38c18cb01802b..19f3d583daea1fd70e73a104db8314781a8a4814 100644 (file)
@@ -1,33 +1,37 @@
+# $Id$
+LoadModule proxy_module                         modules/mod_proxy.so
+
+# FIXME: enable or disable these by default?
+# I'd enable if the config is secure. but i'm not sure
+#LoadModule proxy_connect_module       modules/mod_proxy_connect.so
+#LoadModule proxy_ftp_module           modules/mod_proxy_ftp.so
+#LoadModule proxy_http_module          modules/mod_proxy_http.so
+#LoadModule proxy_ajp_module           modules/mod_proxy_ajp.so
+#LoadModule proxy_balancer_module      modules/mod_proxy_balancer.so
+
 # Proxy Server directives. Uncomment the following lines to
 # enable the proxy server:
 #
-#<IfModule mod_proxy.c>
-#ProxyRequests On
+<IfModule proxy_module>
+ProxyRequests On
+#
 #
-#<Directory proxy:*>
-#      Order deny,allow
-#      Deny from all
-#      Allow from .your_domain.com
-#</Directory>
+# 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>
 
 #
 # Enable/disable the handling of HTTP/1.1 "Via:" headers.
 # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
 # Set to one of: Off | On | Full | Block
 #
-#ProxyVia On
+ProxyVia On
 
-#
-# To enable the cache as well, edit and uncomment the following lines:
-# (no cacheing without CacheRoot)
-#
-CacheRoot "/var/cache/www/apache"
-CacheSize 5
-CacheGcInterval 4
-CacheMaxExpire 24
-CacheLastModifiedFactor 0.1
-CacheDefaultExpire 1
-#NoCache a_domain.com another_domain.edu joes.garage_sale.com
+# To enable the cache as well, see mod_cache.conf
 
-#</IfModule>
-# End of proxy directives.
+</IfModule>
This page took 0.064996 seconds and 4 git commands to generate.