rpnow/rpnow/master/rpnow/.htaccess - Htaccess File

rpnow/rpnow/master/rpnow/.htaccess

RewriteEngine On

## Some hosts may require you to use the `RewriteBase` directive.
## If you need to use the `RewriteBase` directive, it should be the
## absolute physical path to the directory that contains this htaccess file.
# RewriteBase /

## If your server has an SSL cert, uncomment the following lines
## to ensure that they are redirected to a HTTPS URL.
# RewriteCond %{HTTPS} off
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

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

On Github License

Files

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

Comments

Apache