.....
.....
RewriteEngine on
RewriteRule ^(.*) [http://[IP address]:8080/]$1 [P]
<Directory "/seq/RNASEQ/iwww/htdocs">
Options +ExecCGI
AllowOverride All
DirectoryIndex index.html index.cgi
AddHandler cgi-script .cgi
Order Allow,Deny
Allow from All
<FilesMatch "\.ini">
Deny from all
</FilesMatch>
</Directory>
<Directory "/seq/regev_genome_portal/SOFTWARE/galaxy">
AllowOverride All
DirectoryIndex static/welcome.html
Order Allow,Deny
Allow from All
<FilesMatch "\.ini">
Deny from all
</FilesMatch>
This configuration looks correct - are you sure the correct properties
are set in config/galaxy.ini:
You need this section:
[filter:proxy-prefix]
use = egg:PasteDeploy#prefix
prefix = /galaxy
And [app:main] needs following properties:
filter-with = proxy-prefix
cookie_path = /galaxy
I would also make sure your Galaxy is up and running on port 8080 -
maybe by running a command such as
wget http://127.0.0.1:8080
from the server to make sure you get a response from Galaxy.
If none of that leads to clues - it might be worth starting with the
easier apache proxy configuration (serving on / instead of /galaxy)
and getting that working first to rule out Galaxy and very basic
Apache configuration problems.
-John
> ___________________________________________________________
On Fri, Apr 17, 2015 at 11:50 AM, Asma Riyaz <asmariyaz23@gmail.com> wrote:
> Hi,
>
> I have been through previous issues regarding this issue. So far, I have
> included the rewrite Engine logic written in
> /etc/apache2/sites-available/defaults - looks like so:
>
> <VirtualHost *:80>
>
> .....
>
> .....
>
> RewriteEngine on
>
> RewriteRule ^/galaxy$ /galaxy/ [R]
>
> RewriteRule ^/galaxy/static/style/(.*)
> /seq/SOFTWARE/galaxy/static/june_2007_style/blue/$1 [L]
>
> RewriteRule ^/galaxy/static/scripts/(.*)
> /seq/SOFTWARE/galaxy/static/scripts/packed/$1 [L]
>
> RewriteRule ^/galaxy/static/(.*) /seq/SOFTWARE/galaxy/static/$1 [L]
>
> RewriteRule ^/galaxy/favicon.ico /seq/SOFTWARE/galaxy/static/favicon.ico [L]
>
> RewriteRule ^/galaxy/robots.txt /seq/SOFTWARE/galaxy/static/robots.txt [L]
>
> RewriteRule ^/galaxy(.*) http://[my IP address]/$1 [P]
>
> I restarted apache after this and accessed : http://[my IP address]/galaxy
> but no webpage is found. Any advice on how I can proceed to configure the
> apache correctly?
>
> Thank you,
>
> Asma
>
>
>
>
>
> 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/