Hi,

The solution to my problem was very simple: I copy/pasted the code from the website, but forgot to change the name of the galaxy directory from  galaxy_dist  to galaxy-dist.
Since this directory did not exists, he could not find the contents. Out of honesty I must say I changed the group permissions to Apache and also set the SELinux permissions with chcon.

Good luck!

Cheers,
Joachim



On 08/04/11 16:59, sohkhan@notes.cc.sunysb.edu wrote:
Hi,

I am having the same problem.  I am running Galaxy an Mac.OS tiger 10.6.  I was wondering if there was a solution suggested.  
Thanks.

-Sohail



From:        Paul Gordon <gordonp@ucalgary.ca>
To:        joachim.jacob@vib.be
Cc:        galaxy-dev@lists.bx.psu.edu
Date:        08/02/2011 03:37 PM
Subject:        Re: [galaxy-dev] Apache configuration problem
Sent by:        galaxy-dev-bounces@lists.bx.psu.edu




Hi Joachim,

I'm not sure what's wrong with your setup, but for what it's worth I could not get the provided instructions to work properly either, when I combined the proxy with a step to authenticate against our University's single-sign service (CAS).  Not sure if you're going to do authentication as well, but here are the Apache proxy directives I got to work...

ProxyVia On
ProxyPassInterpolateEnv On
<Proxy *>
   Order deny,allow
   Allow from all
</Proxy>
ProxyPass /
http://localhost:8080/

Cheers,

Paul

Joachim Jacob wrote:

Hi all,

I am trying to set up httpd to serve galaxy from the root url and to serve static content as described on
http://wiki.g2.bx.psu.edu/Admin/Config/Apache%20Proxy. I will not serve Galaxy under a subdirectory.

I have added to /etc/httpd/conf.d/ a file galaxy.conf with contents (CentOS system):

RewriteEngine on
RewriteRule ^(.*)
http://localhost:8080$1 [P]

Everything works after firing up httpd! :-)

But when adding following rewrite rules:

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]

I get a page which is totally scrambled. At first sight, seems to be file permission problems.
The apache log file (/var/log/httpd/error_log) shows (last two lines, but the lines before these are similar):

[Tue Aug 02 15:26:03 2011] [error] [client x.x.x.x] File does not exist: /home/galaxy/galaxy_dist, referer:
http://x.x.x.x/root/tool_menu
[Tue Aug 02 15:26:03 2011] [error] [client x.x.x.x] File does not exist: /home/galaxy/galaxy_dist, referer:
http://x.x.x.x/history

Has anybody a clue on what I should do? I thought I will try these steps:
- I changed the group owner of several of the directories recursively to the apache group
- I have set the SELinux permissions with chcon -R -h -t httpd_sys_content_t static

but no joy! :-(

Thanks for any hint.

Joachim




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

--
______________
Paul Gordon
Bioinformatics Support Specialist
Alberta Children's Hospital Research Institute
http://www.ucalgary.ca/~gordonp
___________________________________________________________
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/