Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save stoneC0der/3fe0f85813ffec040532de4823a812b4 to your computer and use it in GitHub Desktop.

Select an option

Save stoneC0der/3fe0f85813ffec040532de4823a812b4 to your computer and use it in GitHub Desktop.

Revisions

  1. @rayfranco 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>