Htaccess File

vbogdana/CodeIgniter/master/.htaccess

HTTP_HOST, HTTPS, REQUEST_URI
<IfModule mod_rewrite.c>
RewriteEngine On

RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

RewriteCond $1 !^(index.php|web|robots.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
Exit mobile version