X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=.htaccess;h=0d28312700bd5846aadbc2f86280b92d95234318;hp=1fd2bc7691b81367c497aea34bd59dcd31df4e7e;hb=6dcb879ba3abb21843503cacc65d1fe0848eb90f;hpb=cc6cc0c81d1a270dd2ae94f98e18e3b2bfe51133;ds=sidebyside diff --git a/.htaccess b/.htaccess index 1fd2bc7691..0d28312700 100644 --- a/.htaccess +++ b/.htaccess @@ -1,6 +1,11 @@ Options -Indexes DirectoryIndex index.php +# HTTPoxy mitigation + + RequestHeader unset Proxy + + RewriteEngine On RewriteRule ^cms/(.*)/wht/(.*)$ modules.php?module=$1&what=$2 [L] @@ -8,5 +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]