X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=.htaccess;h=1fd2bc7691b81367c497aea34bd59dcd31df4e7e;hb=546449e88f44bffb20ae7d30ff92aad8928190bd;hp=b6819a9c4f7667f252313ef295e8d58a92fa18b1;hpb=75ad748a68473ace540251427a74fb781b1145e9;p=mailer.git diff --git a/.htaccess b/.htaccess index b6819a9c4f..1fd2bc7691 100644 --- a/.htaccess +++ b/.htaccess @@ -1,8 +1,12 @@ -Options -Indexes -DirectoryIndex index.php - - - 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 + + + 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 ^agb.php$ modules.php?module=index&what=terms [L] +