Skip to content

Instantly share code, notes, and snippets.

@stewartduffy
Forked from jxnblk/.htaccess
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stewartduffy/23503b599c984730ca76 to your computer and use it in GitHub Desktop.
Save stewartduffy/23503b599c984730ca76 to your computer and use it in GitHub Desktop.
Options +FollowSymLinks
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !index
RewriteRule (.*) index.html [L]
</ifModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment