Skip to content

Instantly share code, notes, and snippets.

@pvanneau
pvanneau / .htaccess
Last active December 17, 2015 10:49
Routing tools for webapp (like Backbone)
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !index
RewriteRule (.*) index.html [L]
</ifModule>