Hello,

I started to setup Apache Proxy under Ubuntu (14.04) in the following way:

*sudo apt-get install apache2 libapache2-mod-proxy-html
libapache2-mod-xsendfile *
*sudo a2enmod rewrite deflate expires proxy proxy_html xsendfile*

*vim /home/galaxy/galaxy/config/galaxy.ini*
*apache_xsendfile = True*


*Where do I insert the following settings?*

*RewriteEngine on*
*RewriteRule ^/static/style/(.*)
/home/galaxy/galaxy/static/june_2007_style/blue/$1 [L]*
*RewriteRule ^/static/scripts/(.*)
/home/galaxy/galaxy/static/scripts/packed/$1 [L]*
*RewriteRule ^/static/(.*) /home/galaxy/galaxy/static/$1 [L]*
*RewriteRule ^/favicon.ico /home/galaxy/galaxy/static/favicon.ico [L]*
*RewriteRule ^/robots.txt /home/galaxy/galaxy/static/robots.txt [L]*
*RewriteRule ^(.*) http://localhost:8080$1 [P]*

*<Location "/">*
*    # Compress all uncompressed content.*
*    SetOutputFilter DEFLATE*
*    SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary*
*    SetEnvIfNoCase Request_URI \.(?:t?gz|zip|bz2)$ no-gzip dont-vary*
*    SetEnvIfNoCase Request_URI /history/export_archive no-gzip dont-vary*
*    # Sending files using Apache*
*    XSendFile on*
*    XSendFilePath /*
*</Location>*
*<Location "/static">*
*    # Allow browsers to cache everything from /static for 6 hours*
*    ExpiresActive On*
*    ExpiresDefault "access plus 6 hours"*
*</Location>*

Thank you in advance,

Mic
___________________________________________________________
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:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Reply via email to