1234567891011121314 |
- RewriteEngine on
- RewriteRule ^gallery$ /index.php?gallery=default [R=302,L,NC]
- RewriteRule ^gallery$ /index.php?post=gallery=default [R=302,L,NC]
- RewriteCond %{HTTPS} !=on
- RewriteCond %{HTTP_HOST} !=localhost
- RewriteCond %{REQUEST_URI} !^.*(jpg|png|gif)$
- RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NC]
- <Files ~ "\.md$">
- deny from all
- </Files>
|