Hello everyone,
I'm having trouble setting up Galaxy with an Apache Proxy.
I did edit the Apache conf file with the following lines :
RewriteEngine on RewriteRule ^/static/style/(.*)/home/nate/galaxy-dist/static/june_2007_style/blue/$1 [L] RewriteRule ^/static/scripts/(.*)/home/nate/galaxy-dist/static/scripts/packed/$1 [L] RewriteRule ^/static/(.*)/home/nate/galaxy-dist/static/$1 [L] RewriteRule ^/favicon.ico/home/nate/galaxy-dist/static/favicon.ico [L] RewriteRule ^/robots.txt/home/nate/galaxy-dist/static/robots.txt [L] RewriteRule ^(.*) http://localhost:8080$1 [P]
The redirection seems to "work" as I reach a webpage that contains some Galaxy's links but, as you can see in the attached snapshot, the webpage does not really looks like the usual Galaxy welcome page :)
Did you already face that problem or do you have any idea to solve it ?
Thanks,
Erwan,
Looks like apache is not following the symlinks according your setup. just replace the /june_2007_style/ to /style/ in your RewriteRule
Please double check the /style/ folder is at your GALAXY_PATH/static/
Vipin
Hello everyone,
I'm having trouble setting up Galaxy with an Apache Proxy.
I did edit the Apache conf file with the following lines :
RewriteEngine on RewriteRule ^/static/style/(.*)/home/nate/**galaxy-dist/static /june_2007_**style/blue/$1 [L] RewriteRule ^/static/scripts/(.*)/home/**nate/galaxy-dist/static/**scripts/packed/$1 [L] RewriteRule ^/static/(.*)/home/nate/**galaxy-dist/static/$1 [L] RewriteRule ^/favicon.ico/home/nate/**galaxy-dist/static/favicon.ico [L] RewriteRule ^/robots.txt/home/nate/galaxy-**dist/static/robots.txt [L] RewriteRule ^(.*) http://localhost:8080$1 [P]
The redirection seems to "work" as I reach a webpage that contains some Galaxy's links but, as you can see in the attached snapshot, the webpage does not really looks like the usual Galaxy welcome page :)
Did you already face that problem or do you have any idea to solve it ?
Thanks,
Erwan,
-- Erwan Delage Ingénieur d'études - Equipe COMBI LINA - Université de Nantes Tel : 02 51 12 58 21
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/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello Erwan,
This issue is caused by a missing trailing slash in your proxy definition.
That's why the root page will load, but nothing requiring any more depth than that.
# Explanation
(For example, I run mine in a subdirectory) localhost:8080/galaxy
The root page makes the request to
localhost:8080/galaxy
and that suceeds.
All sub-pages (e.g., style sheets, etc) make requests that look like
localhost:8080/galaxystatic/welcome.html
and fail. Just add your missing slash and you'll be fine.
In the future I find setting "LogLevel Debug" in my apache conf helpful for this sort of thing, and watching the logs as I make HTTP requests to galaxy.
Cheers, Eric
On 10/17/2013 08:39 AM, Erwan Delage wrote:
Hello everyone,
I'm having trouble setting up Galaxy with an Apache Proxy.
I did edit the Apache conf file with the following lines :
RewriteEngine on RewriteRule ^/static/style/(.*)/home/nate/galaxy-dist/static/june_2007_style/blue/$1 [L] RewriteRule ^/static/scripts/(.*)/home/nate/galaxy-dist/static/scripts/packed/$1 [L] RewriteRule ^/static/(.*)/home/nate/galaxy-dist/static/$1 [L] RewriteRule ^/favicon.ico/home/nate/galaxy-dist/static/favicon.ico [L] RewriteRule ^/robots.txt/home/nate/galaxy-dist/static/robots.txt [L] RewriteRule ^(.*) http://localhost:8080$1 [P]
The redirection seems to "work" as I reach a webpage that contains some Galaxy's links but, as you can see in the attached snapshot, the webpage does not really looks like the usual Galaxy welcome page :)
Did you already face that problem or do you have any idea to solve it ?
Thanks,
Erwan,
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/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
- -- Eric Rasche Programmer II Center for Phage Technology Texas A&M University College Station, TX 77843 404-692-2048 esr@tamu.edu rasche.eric@yandex.ru
galaxy-dev@lists.galaxyproject.org