Skip to content

Instantly share code, notes, and snippets.

Avatar

Brian Barnett brian3kb

View GitHub Profile
@brian3kb
brian3kb / APACHE: .htaccess pushstate
Created Jan 18, 2017 — forked from rayfranco/APACHE: .htaccess pushstate
.htaccess for HTML5 Pushstate support
View APACHE: .htaccess pushstate
<ifModule mod_rewrite.c>
Options +FollowSymLinks
IndexIgnore */*
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.html
</ifModule>