Skip to content

Instantly share code, notes, and snippets.

@nnarhinen
Created February 13, 2013 06:51
Show Gist options
  • Save nnarhinen/4942751 to your computer and use it in GitHub Desktop.
Save nnarhinen/4942751 to your computer and use it in GitHub Desktop.
Local development with yeoman and apache mod_proxy
Options -MultiViews -Indexes +FollowSymLinks
RewriteEngine On
RewriteRule ^api(.*) http://localhost:3011$1 [P]
RewriteCond %{REQUEST_URI} ^/(components|favicon|robots|images|scripts|styles|templates) [NC]
RewriteRule (.*) http://localhost:3501/$1 [P]
RewriteRule ^app(.*) http://localhost:3501$1 [P]
RewriteRule (.*) http://localhost:3501/ [P]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment