huleos/losalgodonesCS/master/.htaccess - Htaccess File

huleos/losalgodonesCS/master/.htaccess

#RewriteEngine On
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.*)$ index.php/$1 [L]

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

SetEnv CI_ENV development

On Github License

Files

Download PDF of Htaccess file
ENV, HTTP_HOST, HTTPS, REQUEST_FILENAME

Comments

Apache