<IfModule mod_rewrite.c> RewriteEngine On # Checks if the request is https and if not it reloads in https. RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # Sends the url string to the index page. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?url=$1 [PT,L,QSA] # Blocks access to directories and redirect to a 404 error. Options -Indexes ErrorDocument 403 /index.php?url=404 </IfModule>
KaivoAnastetiks/SUMBE/master/public_html/.htaccess
