mousems/NTUvote102-2/master/.htaccess
RewriteEngine On
RewriteBase /
Options -Indexes
#if the request is not secure
RewriteCond %{HTTPS} off
#redirect to the secure version
RewriteCond %{SERVER_PORT} !^443
RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
Files
