midnights-straychild/heliophobia.de/master/.htaccess
RewriteEngine On
RewriteBase /heliophobia.de/
RewriteCond %{REQUEST_URI} !^/src/.*$
RewriteCond %{THE_REQUEST} /public/([^s?]*) [NC]
RewriteRule ^ %1 [L,NE,R=302]
RewriteRule ^((?!public/).*)$ public/$1 [L,NC]
<Files ~ ".(htm|html|css|js|php)$">
AddDefaultCharset UTF-8
DefaultLanguage de-DE
</Files>
<IfModule expires_module>
<FilesMatch ".(js|jpg|jpeg|gif|png|css|ttf|map)$">
ExpiresActive on
ExpiresDefault "access plus 1 week"
</FilesMatch>
</IfModule>
<IfModule deflate_module>
SetOutputFilter DEFLATE
</IfModule>
On Github License
Files
Download PDF of Htaccess file