Hello everyone,

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= 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=" 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
    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:

    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 
deeply appreciated.

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:

Reply via email to