gskinnerTeam/Backbone-history/master/app/.htaccess - Htaccess File

gskinnerTeam/Backbone-history/master/app/.htaccess

RewriteEngine On

# Force no trailing slash
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]

## VIEWS ##
# ...

## PUSH STATE ##
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !index
RewriteRule (.*) /#$1 [NE,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache