joebubna/Cora/master/.htaccess - Htaccess File

joebubna/Cora/master/.htaccess

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /cora

# if file or directory doesnt exist for state requests, send them to our main location handling file

RewriteCond %{REQUEST_FILENAME} .(gif|jpe?g|png|js|css|swf|php|ico|txt|pdf|xml)$ [OR]
RewriteCond %{REQUEST_FILENAME} !-d [OR]
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteRule ^(.*)/$ index.php [L]

RewriteCond %{REQUEST_URI} !(/$|.) 
RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] 

</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache