RewriteEngine On
RewriteRule ^/galaxy$ /galaxy/ [R]
RewriteRule ^/static/style/(.*) /home/galaxy/galaxy-dist/static/june_2007_style/blue/$1 [L]
RewriteRule ^/static/scripts/(.*) /home/galaxy/galaxy-dist/static/scripts/packed/$1 [L]
RewriteRule ^/static/(.*) /home/galaxy/galaxy-dist/static/$1 [L]
RewriteRule ^/favicon.ico /home/galaxy/galaxy-dist/static/favicon.ico [L]
RewriteRule ^/robots.txt /home/galaxy/galaxy-dist/static/robots.txt [L]
RewriteRule ^/galaxy(.*) http://localhost:8080$1 [P]
into my "httpd.conf" file. Then I restart the httpd service.
Also, I made changes to the "universe_wsgi.ini" file as instructed and restart Galaxy:
[filter:proxy-prefix]
use = egg:PasteDeploy#prefix
prefix = /galaxy
[app:main]
filter-with = proxy-prefix
cookie_path = /galaxy
but my Red Hat httpd does not has this "/etc/apache2/sites-available/default" directory and only has "/etc/httpd/conf/httpd.conf".
Could someone please tell me where should I put those lines in the "httpd.conf" file?
I have tries various places and none of them works. Any help would be deeply appreciated.
Thanks,
Jim