Created
October 8, 2015 08:06
-
-
Save tjarksaul/99189fd2f4df2b89ed6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{SERVER_PORT} !^443$ [OR] | |
RewriteCond %{HTTP_HOST} !^tjarksaul\.de | |
RewriteRule (.*) https://tjarksaul.de/$1 [L] | |
</IfModule> | |
<IfModule mod_headers.c> | |
Header add Strict-Transport-Security: "max-age=15768000" | |
</IfModule> | |
<IfModule mod_expires.c> | |
ExpiresActive on | |
ExpiresByType image/jpg "access plus 10 years" | |
ExpiresByType image/gif "access plus 10 years" | |
ExpiresByType image/jpg "access plus 10 years" | |
ExpiresByType image/jpeg "access plus 10 years" | |
ExpiresByType image/png "access plus 10 years" | |
ExpiresByType text/css "access plus 10 years" | |
ExpiresByType application/x-javascript "access plus 10 years" | |
ExpiresByType text/javascript "access plus 10 years" | |
ExpiresByType application/javascript "access plus 10 years" | |
ExpiresByType image/x-icon "access plus 10 years" | |
ExpiresByType image/icon "access plus 10 years" | |
ExpiresByType application/x-ico "access plus 10 years" | |
ExpiresByType application/ico "access plus 10 years" | |
</IfModule> | |
<IfModule mod_deflate.c> | |
AddOutputFilterByType DEFLATE text/plain | |
AddOutputFilterByType DEFLATE text/html | |
AddOutputFilterByType DEFLATE text/xml | |
AddOutputFilterByType DEFLATE text/css | |
AddOutputFilterByType DEFLATE application/xml | |
AddOutputFilterByType DEFLATE application/xhtml+xml | |
AddOutputFilterByType DEFLATE application/rss+xml | |
AddOutputFilterByType DEFLATE application/javascript | |
AddOutputFilterByType DEFLATE application/x-javascript | |
</IfModule> | |
<IfModule mod_alias.c> | |
Redirect 303 /+ https://plus.google.com/+TjarkSaul | |
Redirect 303 /app.net https://alpha.app.net/nichdu | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment