Hi,

 

this thread is likely related to this one:

 

http://user.list.galaxyproject.org/Installing-galaxy-with-Apache-td4654499.html

 

I installed Galaxy on a Ubuntu Server 12.04 system. I followed the instruction on the link mentioned above and this one:

https://wiki.galaxyproject.org/Admin/Config/ApacheProxy

 

Now my issue is:

 

When I got this configuration in my /etc/apache2/sites-available/default :

 

RewriteEngine on

RewriteRule ^/galaxy$ /galaxy/ [R]

RewriteRule ^/galaxy/static/style/(.*) /home/galaxy/galaxy-dist/static/june_2007_style/blue/$1 [L]

RewriteRule ^/galaxy/static/scripts/(.*) /home/galaxy/galaxy-dist/static/scripts/packed/$1 [L]

RewriteRule ^/galaxy/static/(.*) /home/galaxy/galaxy-dist/static/$1 [L]

RewriteRule ^/galaxy/favicon.ico /home/galaxy/galaxy-dist/static/favicon.ico [L]

RewriteRule ^/galaxy/robots.txt /home/galaxy/galaxy-dist/static/robots.txt [L]

RewriteRule ^(.*) http://localhost:8080$1 [P]

 

Galaxy is visible at www.my_server_url.de but not at www.my_server_url.de/galaxy

 

Following the later URL I got this message:

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request
GET /galaxy.

Reason: DNS lookup failure for: localhost:8080http:


Apache/2.2.22 (Ubuntu) Server at www.my_server_url.de Port 80
 
 

When I change the configuration like this: (make the second line a comment):

 

RewriteEngine on

#RewriteRule ^/galaxy$ /galaxy/ [R]

RewriteRule ^/galaxy/static/style/(.*) /home/galaxy/galaxy-dist/static/june_2007_style/blue/$1 [L]

RewriteRule ^/galaxy/static/scripts/(.*) /home/galaxy/galaxy-dist/static/scripts/packed/$1 [L]

RewriteRule ^/galaxy/static/(.*) /home/galaxy/galaxy-dist/static/$1 [L]

RewriteRule ^/galaxy/favicon.ico /home/galaxy/galaxy-dist/static/favicon.ico [L]

RewriteRule ^/galaxy/robots.txt /home/galaxy/galaxy-dist/static/robots.txt [L]

RewriteRule ^(.*) http://localhost:8080$1 [P]

 

Galaxy is visible both at www.my_server_url.de and at www.my_server_url.de/galaxy

 

When I completely remove this part, the “It works!” standard page of apache is displayed.

 

The configuration in my universe.ini is as follows:

host = 127.0.0.1

 

[filter:proxy-prefix]

use = egg:PasteDeploy#prefix

prefix = /galaxy

 

[app:main]

filter-with = proxy-prefix

cookie_path = /galaxy

 

Can you please help me with this issue?

I want to see the “It works!” page at www.my_server_url.de and galaxy only at www.my_server_urla.de/galaxy.

 

Thanks in advance!

 

Kind regards

Matthias Enders