Skip to content

Instantly share code, notes, and snippets.

@rayfranco
Created July 30, 2012 23:04

Revisions

  1. rayfranco created this gist Jul 30, 2012.
    8 changes: 8 additions & 0 deletions APACHE: .htaccess pushstate
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    <ifModule mod_rewrite.c>
    Options +FollowSymLinks
    IndexIgnore */*
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule (.*) index.html
    </ifModule>