Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 92a61f9598
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (9 sloc) 0.361 kb
RewriteEngine on
# Don't try to rewrite images, css, etc
RewriteRule ^(.+)\.(\d+)\.(js|css|png|jpg|gif)$ $1.$3 [L]
# Send request via index.php (again, not if its a real file or folder)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Don't try if its an uploaded asset
RewriteCond $1 !^(assets/)
RewriteRule ^(.*)$ index.php/$1 [L]
Jump to Line
Something went wrong with that request. Please try again.