Skip to content

Instantly share code, notes, and snippets.

@andrewcstewart
Created February 27, 2013 14:12
Show Gist options
  • Save andrewcstewart/5048158 to your computer and use it in GitHub Desktop.
Save andrewcstewart/5048158 to your computer and use it in GitHub Desktop.
Galaxy apache proxy config
RewriteEngine on
RewriteRule ^/galaxy$ /galaxy/ [R]
RewriteRule ^/galaxy/static/style/(.*) /Users/galaxy/galaxy-dist/static/june_2007_style/blue/$1 [L]
RewriteRule ^/galaxy/static/scripts/(.*) /Users/galaxy/galaxy-dist/static/scripts/packed/$1 [L]
RewriteRule ^/galaxy/static/(.*) /Users/galaxy/galaxy-dist/static/$1 [L]
RewriteRule ^/galaxy/favicon.ico /Users/galaxy/galaxy-dist/static/favicon.ico [L]
RewriteRule ^/galaxy/robots.txt /Users/galaxy/galaxy-dist/static/robots.txt [L]
RewriteRule ^/galaxy(.*) http://localhost:8080$1 [P]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment