<ifModule mod_rewrite.c>
Options +FollowSymLinks
IndexIgnore */*
# Enable rewriting
RewriteEngine On
RewriteCond %{HTTPS} off
# RewriteRule ^(.*) https://%{HTTP_HOST}/$1 [R,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !\/$
RewriteRule ^(.*) /
</ifModule>
Back to Directory