]> TLD Linux GIT Repositories - packages/apache.git/blobdiff - apache-mod_proxy.conf
- release 2
[packages/apache.git] / apache-mod_proxy.conf
index 8e7c9d44844719aca0ae75acf9328182542bf187..00f9a57347bbff744e3495f670a042925b54757e 100644 (file)
@@ -16,6 +16,7 @@ LoadModule proxy_module                        modules/mod_proxy.so
 #LoadModule proxy_http_module          modules/mod_proxy_http.so
 #LoadModule proxy_scgi_module          modules/mod_proxy_scgi.so
 #LoadModule proxy_html_module          modules/mod_proxy_html.so
+#LoadModule proxy_wstunnel_module              modules/mod_proxy_wstunnel.so
 
 # Proxy Server directives. Uncomment the following lines to
 # enable the proxy server:
@@ -24,20 +25,24 @@ LoadModule proxy_module                      modules/mod_proxy.so
 ProxyRequests On
 #
 #
-# This prevents spammers from using apache as a relay by posting to 
+# This prevents spammers from using apache as a relay by posting to
 # http://victim:25/ and sending raw data.
 #
 <Proxy *>
        Require all denied
 #      Require host .your-domain.com
+       <IfModule mod_access_compat.c>
+               Order deny,allow
+               Deny from all
+#              Allow from .your-domain.com
+       </IfModule>
 </Proxy>
 
 # enable local fcgi proxy request, e.x for php-fpm
 #<Proxy fcgi://127.0.0.1:*>
-#        Require all granted
+#      Require all granted
 #</Proxy>
 
-
 #
 # Enable/disable the handling of HTTP/1.1 "Via:" headers.
 # ("Full" adds the server version; "Block" removes all outgoing Via: headers)