Hello Yu,

first, you need to change the /home/nate/galaxy_dist in the rewrite rules to the directory on your machine where the galaxy files are. Second, I think the apache user needs at least read access to the static directory inside the galaxy directory.


Regards,
Sarah


On 04/12/2011 04:11 PM, Yu Wang wrote:
Hello, I installed Galaxy on Fedora 13. Everything works fine at
http://127.0.0.1:8080
Then I followed instruction from
https://bitbucket.org/galaxy/galaxy-central/wiki/Config/ApacheProxy.
I add the following lines to httpd.conf:
RewriteEngine on
RewriteRule ^/galaxy$ /galaxy/ [R]
RewriteRule ^/galaxy/static/style/(.*)
/home/nate/galaxy_dist/static/june_2007_style/blue/$1 [L]
RewriteRule ^/galaxy/static/scripts/(.*)
/home/nate/galaxy_dist/static/scripts/packed/$1 [L]
RewriteRule ^/galaxy/static/(.*) /home/nate/galaxy_dist/static/$1 [L]
RewriteRule ^/galaxy/favicon.ico
/home/nate/galaxy_dist/static/favicon.ico [L]
RewriteRule ^/galaxy/robots.txt /home/nate/galaxy_dist/static/robots.txt
[L]
RewriteRule ^/galaxy(.*) http://localhost:8080$1 [P]

and changed
universe_wsgi.ini with

[filter:proxy-prefix]
use = egg:PasteDeploy#prefix
prefix = /galaxy

[app:main]

filter-with = proxy-prefix
cookie_path = /galaxy

I restarted Apache and Galaxy. At http://127.0.0.1:8080 everything works
fine but at http://xx.xx.xx.xx/galaxy
I got a scrambled page.  Apache error log said "[Mon Apr 11 17:43:03
2011] [error] [client xx.xx.xx.xx] (13)Permission denied: access to
/galaxy/static/style/base.css denied, referer:
http://xx.xx.xx.xx/galaxy/root/tool_menu
[Mon Apr 11 17:43:03 2011] [error] [client xx.xx.xx.xx] (13)Permission
denied: access to /galaxy/static/style/tool_menu.css denied, referer:
http://xx.xx.xx.xx/galaxy/root/tool_menu
[Mon Apr 11 17:43:03 2011] [error] [client xx.xx.xx.xx] (13)Permission
denied: access to /galaxy/static/scripts/jquery.js denied, referer:
http://xx.xx.xx.xx/galaxy/root/tool_menu
[Mon Apr 11 17:43:03 2011] [error] [client xx.xx.xx.xx] (13)Permission
denied: access to /galaxy/static/scripts/galaxy.base.js denied, referer:
http://xx.xx.xx.xx/galaxy/root/tool_menu
"

Can anyone point out what was configured wrong? Many thanks in advance.

Best regards,

Yu Wang


Yu Wang

Office:
Department of Plant Science
Center for Life and Food Sciences Weihenstephan
Technical University Munich

Lehrstuhl für Pflanzenzüchtung
Wissenschaftszentrum Weihenstephan für Ernährung,
Landnutzung und Umwelt
Technische Universität München

Room 026, Emil-Ramann-Str. 4 (old: Am Hochanger 4)
Tel: ++49 8161 71-4139

Lab:
Lehrstuhl für Genomorientierte Bioinformatik
Maximus-von-Imhof-Forum 3.
Room  OG-L 09
Tel: ++49 8161 71-2132

yu.w...@wzw.tum.de
D-85354 Freising
Germany


___________________________________________________________
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:

 http://lists.bx.psu.edu/

Reply via email to