You need to enable Apache's proxy service. See my pervious post here:
Let us know if you run into further issues,
Computer Science, Undergraduate Student
Donald Bren School of Information and Computer Sciences
Research Computing Support
Office of Information Technology
University of California, Irvine
On Mon, Sep 9, 2013 at 12:04 PM, Jingchao Zhang <zh...@unl.edu> wrote:
> 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=0.0.0.0 and "sh
> run.sh", then the http://localhost:8080 will direct me to the Galaxy page.
> 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
> 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
> 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:8080 nor 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
> 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:
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: