8 lines
245 B
ApacheConf
8 lines
245 B
ApacheConf
RewriteEngine on
|
|
# Don't rewrite files or directories
|
|
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
|
RewriteCond %{REQUEST_FILENAME} -d
|
|
RewriteRule ^ - [L]
|
|
# Rewrite everything else to index.html to allow html5 state links
|
|
RewriteRule ^ index.html [L]
|