Galaxy 19.01 apache proxy problem (each action leads to the welcome page)

Our galaxy instance is hosted on our intranet server and made accessible to everyone through an apache proxy from our www web server.
Our galaxy architecture is set up through 2 apache proxies (one on each server). That is :
apache_www_server/galaxy (version 2.4.12) => apache_intranet_server/galaxy (version 2.4.39) => (uwsgi) galaxy
This architecture worked fine with our previous Galaxy instance (16.xy). Since upgrade to 19.01, the proxying chain does not work as expected.
From our galaxy www virtualhost, every action leads to the welcome page, data upload expected which works fine.

To set up our config, I followed the instructions serving-galaxy-at-a-url-prefix but had to comment one line causing url rewrite on client browsers.
Here are the apache configs :

  • on our www web server :
    ProxyPass /galaxy/ http://our_intranet_server/galaxy/
    ProxyPassReverse /galaxy/ http://our_intranet_server/galaxy/

  • on our intranet server :
    <Location “/galaxy/”>
    Require all granted

<Directory “/home/galaxy/galaxy/static”>
Require all granted

ProxyPass /galaxy uwsgi://
#ProxyPass / uwsgi://localhost:3031/

RewriteEngine On
####RewriteRule ^/galaxy/$ /galaxy [R,L] #### Disabled because generating an url rewrite on client browsers => our_www_server/galaxy replaced by our_intranet_server/galaxy (not accessible to every one)
RewriteRule ^/galaxy/static/style/(.) /home/galaxy/galaxy/static/june_2007_style/blue/$1 [L]
#RewriteRule ^/galaxy/static/scripts/(.
) /home/galaxy/galaxy/static/scripts/packed/$1 [L]
RewriteRule ^/galaxy/static/(.*) /home/galaxy/galaxy/static/$1 [L]
RewriteRule ^/galaxy/favicon.ico /home/galaxy/galaxy/static/favicon.ico [L]
RewriteRule ^/galaxy/robots.txt /home/galaxy/galaxy/static/robots.txt [L]

<Directory “/home/galaxy/galaxy/config/plugins/(.+)/(.+)/static”>
AllowOverride None
Require all granted

RewriteRule ^/galaxy/plugins/(.+)/(.+)/static/(.*)$ /home/galaxy/galaxy/config/plugins/$1/$2/static/$3 [L]

Is there any misconfiguration in our httpd.conf files ?
Is 19.01 buggy regarding proxying ? Shall we upgrade to 19.05 ?
Any help welcome.


1 Like

Not that I am aware of, but you might want to check for 19.01 point-updates made since you last upgraded to that release.

Avoid the 19.05 release until it is finalized. There are still important changes in progress in the pre-release version.

Someone from the development team will likely get back to you Monday.

BTW – I’m not sure exactly why three of your posts were flagged and not posted, but I restored them you should be Ok now. I suspect it was the external links, which are completely fine to post here as long as they are related to a Galaxy problem.

Asked developers directly for help at their Gitter channel. They may get back to your here or there. Feel free to jump into the Gitter chat, too: