Created
November 18, 2013 22:26
-
-
Save raphaelluchini/7536497 to your computer and use it in GitHub Desktop.
Snippet to configure apache VirtualHost environment for Backbone Boilerplate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName NAME | |
DocumentRoot DIRECTORY | |
<Directory DIRECTORY> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride None | |
Order allow,deny | |
allow from all | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.html - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.html [L] | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment