X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=.htaccess;h=0d28312700bd5846aadbc2f86280b92d95234318;hp=bea521ae53281c68408a2275f4c0fd0750a6ab9d;hb=10c08181e41654e70fc77f8f5f956008241d34c2;hpb=addbb8351784d33ba1c7ebc52771defd09ddf2f0 diff --git a/.htaccess b/.htaccess index bea521ae53..0d28312700 100644 --- a/.htaccess +++ b/.htaccess @@ -1,9 +1,19 @@ -Options -Indexes -DirectoryIndex index.php - - - RewriteEngine On - RewriteRule ^cms/(.*)/wht/(.*)$ modules.php?module=$1&what=$2 [L] - RewriteRule ^cms/(.*)/act/(.*)$ modules.php?module=$1&action=$2 [L] - RewriteRule ^cms/(.*)$ modules.php?module=$1 [L] - +Options -Indexes +DirectoryIndex index.php + +# HTTPoxy mitigation + + RequestHeader unset Proxy + + + + RewriteEngine On + RewriteRule ^cms/(.*)/wht/(.*)$ modules.php?module=$1&what=$2 [L] + RewriteRule ^cms/(.*)/act/(.*)$ modules.php?module=$1&action=$2 [L] + 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] +