wb-2_10_x/trunk/htaccess.txt @ 19
1 |
# Example .htaccess wich allows to parse .html as php |
---|---|
2 |
# AddType application/x-httpd-php .html |
3 |
# |
4 |
# |
5 |
ErrorDocument 404 http://www.domain.de/index.php |
6 |
RewriteEngine On |
7 |
RewriteCond %{HTTP_HOST} ^([^.]+).(de) |
8 |
RewriteRule ^(.*) http://www.%1.%2/$1 [R=301,L] |
9 |
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.(html?|php)\ HTTP/ |
10 |
RewriteRule ^index\.(html?|php)$ http://www.domain.de/ [R=301,L] |