I installed both Galaxy and Apache in a Red Hat linux machine and they work
fine individually. If I open http://localhost then a welcome page comes out
showing the httpd is working. In galaxy I changed host=0.0.0.0 and "sh run.sh",
then the http://localhost<http://localhost/>:8080 will direct me to the Galaxy
Now I want to put Galaxy under Apache and here is what I did:
1. First I comment the "host=0.0.0.0" line to stop the build in web server in
Galaxy and then "sh run.sh" to make Galaxy running.
2. Then I put these lines
RewriteRule ^/galaxy$ /galaxy/ [R]
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
use = egg:PasteDeploy#prefix
prefix = /galaxy
filter-with = proxy-prefix
cookie_path = /galaxy
After I do these, either http://localhost<http://localhost/>:8080 nor
http://localhost<http://localhost/>/galaxy works. I find two threads talked
about this problem before:
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
Please keep all replies on the list by using "reply all"
in your mail client. To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
To search Galaxy mailing lists use the unified search at: