also prevent it in .htacces. You may want to add this to one of your files in /etc...
[mailer.git] / .htaccess
1 Options -Indexes
2 DirectoryIndex index.php
3
4 # HTTPoxy mitigation
5 <IfModule mod_headers.c>
6         RequestHeader unset Proxy
7 </IfModule>
8
9 <IfModule mod_rewrite.c>
10         RewriteEngine On
11         RewriteRule ^cms/(.*)/wht/(.*)$                       modules.php?module=$1&what=$2         [L]
12         RewriteRule ^cms/(.*)/act/(.*)$                       modules.php?module=$1&action=$2       [L]
13         RewriteRule ^cms/(.*)$                                modules.php?module=$1                 [L]
14         # @TODO When ext-imprint is finished RewriteRule ^cms/index/wht/impressum$                 modules.php?module=index&what=imprint [L]
15         # @TODO When ext-imprint is finished RewriteRule ^modules.php?module=index&what=impressum$ modules.php?module=index&what=imprint [L]
16         # @TODO When ext-terms is finished RewriteRule ^cms/index/wht/agb$                 modules.php?module=index&what=terms [L]
17         # @TODO When ext-terms is finished RewriteRule ^modules.php?module=index&what=agb$ modules.php?module=index&what=terms [L]
18         # @TODO When ext-terms is finished RewriteRule ^agb.php$ modules.php?module=index&what=terms [L]
19 </IfModule>