Re: [galaxy-dev] Problem configuring Galaxy with an Apache proxy

2013-10-17 Thread Eric Rasche
-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
e...@tamu.edu
rasche.e...@yandex.ru
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSX/vjAAoJEMqDXdrsMcpVXskP/2sE0Wi2pUASL9YWYnP9X92O
p+QVecyPXzOsfYqTHvJ+oD49xWueVjNdqGhwjGRgAXEJhboQ4gzvjH6xRzwKDXIs
c58b/hRq38Hshw292k24HxrDFKoy0ETYyJTTnIQ3IazkAs+OO4kW9zMHTg+IEgsf
GCa8QkD2S7Om85k7JuY7XjmBC5SCtgvR1s+QnAmyXv3Atjsa1TZtyH3uFpppSKwn
ufuZwcr/A7dkdX2SEakb9QDv/8/ksDe5U6SMd/hjGXgfPX7ZelWhxF6IZibYHDXT
5tG1t3q/facJFTXAFvTGl/Caif1JABeMEnBe6U/heDlO4GYMTGl6uJVYcJ1XzQWI
B9a3Ui8YS72Nufce0xlGxlItpDsjz9UnHuX0b++vrPViyULCB2wZaOW4AUnBk1YY
6wK4dO4+2jXX6zuDeIWcHz/REpJDwIASak5FcvWTdVK3n9/tmz1puyF9OLUi907g
Dc5MU9qyuHT1NM3NqHlxSCDSVZaX4rb6b14qNsceg/aXdE6c8NBN+PjyqYe4t7za
TBMpgXwXxvq7lxnfu2sRkulte2zhZjcsZiAmDqPRfIB8Hxd9Zdwz5h/uvV4HnIzp
uBns36WKuD5wJc42tb2gHxMDtwSEtr6raxNbvaNvIeISLc2Uc9tEG3Lzyw17fWT5
4ux/759O8sjh1JaoIj9p
=dVoe
-END PGP SIGNATURE-
___
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/


Re: [galaxy-dev] Problem configuring Galaxy with an Apache proxy

2013-10-17 Thread Vipin TS
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/
>
___
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/