Hotfix
[mailer.git] / .htaccess
index 1fd2bc7691b81367c497aea34bd59dcd31df4e7e..35131c0012e71cb73ab27db4ededa950a03cfa21 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -9,4 +9,6 @@ DirectoryIndex index.php
        # @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]
+       RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
+       RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
 </IfModule>