Continued a bit:
[mailer.git] / .htaccess
index 35131c0012e71cb73ab27db4ededa950a03cfa21..0d28312700bd5846aadbc2f86280b92d95234318 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,6 +1,11 @@
 Options -Indexes
 DirectoryIndex index.php
 
+# HTTPoxy mitigation
+<IfModule mod_headers.c>
+       RequestHeader unset Proxy
+</IfModule>
+
 <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteRule ^cms/(.*)/wht/(.*)$                       modules.php?module=$1&what=$2         [L]
@@ -8,7 +13,7 @@ DirectoryIndex index.php
        RewriteRule ^cms/(.*)$                                modules.php?module=$1                 [L]
        # @TODO When ext-imprint is finished RewriteRule ^cms/index/wht/impressum$                 modules.php?module=index&what=imprint [L]
        # @TODO When ext-imprint is finished RewriteRule ^modules.php?module=index&what=impressum$ modules.php?module=index&what=imprint [L]
+       # @TODO When ext-terms is finished RewriteRule ^cms/index/wht/agb$                 modules.php?module=index&what=terms [L]
+       # @TODO When ext-terms is finished RewriteRule ^modules.php?module=index&what=agb$ modules.php?module=index&what=terms [L]
        # @TODO When ext-terms is finished RewriteRule ^agb.php$ modules.php?module=index&what=terms [L]
-       RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
-       RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
 </IfModule>