galaxy behind proxy/apache2
Hello all, I am trying to do the production server setup of galaxy and was finally succesfull in using mysql instead of sqlight. I am facing difficulties in configuring the proxy/apache part though. I followed the wiki but no luck. I do not have any other sites on that machine but I was hoping to either: use www.domain.nl/galaxy<http://www.domain.nl/galaxy> or www.domain.nl:8080<http://www.domain.nl:8080/> to point to the galaxy using apache and proxy.... that would leave the possibility to have www.domain.nl<http://www.domain.nl/> and/or www.domain.nl/other_sites<http://www.domain.nl/other_sites> to still be used. My www is at default /var/www Galaxy is in /opt/galaxy mod-rewrite is installed and enabled even as the proxy parts made the suggested modifictions to universe_wsgi.ini (unsure on the server=0.0.0.0 or 127.0.0.1 part and the part dealing with the setting of the static part... should that be True or False. I would say False. Just to be sure: galaxy must be started using its own galaxy system user right? Apache2 is working fine (on ubuntu maverick server) and the www.domain.nl<http://www.domain.nl/> site incl PHP is working. Also www.domain.nl/phpmyadmin<http://www.domain.nl/phpmyadmin> is fully functional.... I'm puzzled... Any help/direction is appreciated. Or a working example of the universe_wsgi.ini and other config files would be very helpful! Alex
Bossers, Alex wrote:
Hello all,
I am trying to do the production server setup of galaxy and was finally succesfull in using mysql instead of sqlight.
I am facing difficulties in configuring the proxy/apache part though. I followed the wiki but no luck. I do not have any other sites on that machine but I was hoping to either: use www.domain.nl/galaxy<http://www.domain.nl/galaxy> or www.domain.nl:8080<http://www.domain.nl:8080/> to point to the galaxy using apache and proxy.... that would leave the possibility to have www.domain.nl<http://www.domain.nl/> and/or www.domain.nl/other_sites<http://www.domain.nl/other_sites> to still be used.
Hi Alex, This setup is fine, quite a few people run at a subdirectory.
My www is at default /var/www Galaxy is in /opt/galaxy mod-rewrite is installed and enabled even as the proxy parts made the suggested modifictions to universe_wsgi.ini (unsure on the server=0.0.0.0 or 127.0.0.1 part and the part dealing with the setting of the static part... should that be True or False. I would say False.
Setting the address to 127.0.0.1 means that your proxy cannot be bypassed except by connections from the same server. I do this but if it's not a concern in your environment, 0.0.0.0 can be useful for testing at times. If all the static content is proxied as in the example config on the wiki, then static can be disabled (False).
Just to be sure: galaxy must be started using its own galaxy system user right?
It's not a requirement, but it's strongly recommended. Starting as root or a shared user would be unsafe.
Apache2 is working fine (on ubuntu maverick server) and the www.domain.nl<http://www.domain.nl/> site incl PHP is working. Also www.domain.nl/phpmyadmin<http://www.domain.nl/phpmyadmin> is fully functional.... I'm puzzled...
Any help/direction is appreciated. Or a working example of the universe_wsgi.ini and other config files would be very helpful!
Could you provide details about what's not working? Are you able to see Galaxy at all? Do you receive an error message from Galaxy or Apache? Thanks, --nate
Alex
_______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev
participants (2)
-
Bossers, Alex
-
Nate Coraor