Hi guys,

Thanks for the helps. I used http://publicnet.org/galaxy for visiting the
site, so it's my typo.

On Fri, Jan 6, 2012 at 3:49 AM, Carlos Borroto <carlos.borr...@gmail.com>wrote:

> The fact your apache server is looking in /var/www/galaxy means the
> 'RewriteRule' is not working. Did you check if modwrite is activated
> in your apache install?

 I think the module is loaded and active. I checked it with  apache2ctl -t

Loaded Modules:
   rewrite_module (shared)
Syntax OK

I am not very confident with my config though. The Apache server is on
ubuntu 10.10 and was installed from apt-get. It has its own conf files
structure compares to the generic Apache:

ls -la /etc/apache2/mods-enabled/
lrwxrwxrwx 1 root root   28 2011-05-13 13:54 proxy.conf ->
lrwxrwxrwx 1 root root   33 2011-05-13 14:56 proxy_http.load ->
lrwxrwxrwx 1 root root   28 2011-05-13 13:54 proxy.load ->
lrwxrwxrwx 1 root root   33 2011-04-11 14:23 reqtimeout.conf ->
lrwxrwxrwx 1 root root   33 2011-04-11 14:23 reqtimeout.load ->
lrwxrwxrwx 1 root root   30 2012-01-04 15:07 rewrite.load ->

We have already had some other proxy settings inside proxy.conf, therefore
I also put the rewrite config into the proxy.conf.

The contents inside proxy.conf is something like:

<IfModule mod_proxy.c>

# If you want to use apache2 as a forward proxy, uncomment the
# 'ProxyRequests On' line and the <Proxy *> block below.
# WARNING: Be careful to restrict access inside the <Proxy *> block.
# Open proxy servers are dangerous both to your network and to the
# Internet at large.
# If you only want to use apache2 as a reverse proxy/gateway in
# front of some web application server, you DON'T need
# 'ProxyRequests On'.

#ProxyRequests On
#<Proxy *>
#        AddDefaultCharset off
#        Order deny,allow
#        Deny from all
#        #Allow from .example.com

# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via:
# Set to one of: Off | On | Full | Block
#ProxyVia Off

ProxyPass /caarray http://caarray.privatenet.org:38080/caarray
ProxyPassReverse /caarray http://caarray.privatenet.org:38080/caarray

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^/galaxy$ /galaxy/ [R]
RewriteRule ^/galaxy/static/style/(.*)
/NFS/PATH/TO/galaxy/static/june_2007_style/blue/$1 [L]
^/galaxy/static/scripts/(.*) /NFS/PATH/TO/galaxy/static/scripts/packed/$1
RewriteRule ^/galaxy/static/(.*) /NFS/PATH/TO/galaxy/static/$1 [L]
RewriteRule ^/galaxy/favicon.ico /NFS/PATH/TO/galaxy/static/favicon.ico [L]
RewriteRule ^/galaxy/robots.txt /NFS/PATH/TO/galaxy/static/robots.txt [L]
RewriteRule ^/galaxy(.*) http://galaxy.privatenet.org:8080$1 [P]

Have I put the rewrite settings in the wrong place?

I also want to clarify if I need to create the symlink to galaxy inside

Please let me know if other details are needed.

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:


Reply via email to