Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<VirtualHost *:3000>
ServerName example
DocumentRoot /path/user/directory
<Directory /home/user/directory>
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]
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.