oriyentel/sisrequest/test/.htaccess - Htaccess File

oriyentel/sisrequest/test/.htaccess

#RewriteEngine on
#
## uncomment the following lines to force HTTPS
##RewriteCond %{HTTP:X-Forwarded-Proto} !https
##RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
#
## removes trailing slashes
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.+)/$ /$1 [L,R=301]
#
## remove index.php from URL
#RewriteCond $1 !^(index.php|assets|robots.txt)
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.*)$ /index.php/$1 [L]
#RewriteEngine On
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.*)$ index.php/$1 [L]
RewriteEngine on
RewriteCond $1 !^(index.php|images|css|robots.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php/$1 [L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, HTTPS, REQUEST_FILENAME, REQUEST_URI, X-Forwarded-Proto

Comments

Apache