Redirect port 80 to port 443 (ssl)
1 2 RewriteEngine On 3 RewriteCond %{SERVER_PORT} !^443$ 4 RewriteRule ^(.*)$ https://www.domain.de/folder/$1 [L,R]
DZone Snippets > beate > htaccess
12869 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Beate http://www.paland.net/
1 2 RewriteEngine On 3 RewriteCond %{SERVER_PORT} !^443$ 4 RewriteRule ^(.*)$ https://www.domain.de/folder/$1 [L,R]