Hi Neil, with your current apache configuration, you should probably see Galaxy at http://yourip/galaxy This is due to your Rewriterule /galaxy and for that you have also set proxy_prefix = /galaxy in your universe_wsgi.ini
You should probably remove the empty galaxy directory under /var/www Furthermore, most of the time you will not need a directory with 777 in your apache web/documentroot.. Cheers, Jelle On Thu, Aug 23, 2012 at 8:34 AM, <neil.burd...@csiro.au> wrote: > Hi > I've installed galaxy with the default settings and it works fine. > > On a new Ubuntu machine I am trying to get galaxy running with Apache. But I > am having problems, I've followed the documentation. > > After installing Apache I can put my ip address into a browser and I get > message saying Apache is working fine. It displays a message from > /var/www/index.html > > Now when I start galaxy I was assuming I would get redirected to the galaxy > welcome page, but this doesn't happen and it remains at /var/www/index.html. > To view the welcome page I have to add ":8080" after the ip address. Is this > still required? I thought that Apache would know to redirect to my > distribution....What am I doing wrong? > > /etc/apache2/sites-available/default-ssl and > /etc/apache2/sites-available/default look like this ... > > DocumentRoot /var/www > <Directory /> > Options FollowSymLinks > AllowOverride None > </Directory> > <Directory /var/www/> > Options Indexes FollowSymLinks MultiViews > AllowOverride None > Order allow,deny > allow from all > </Directory> > > etc ... > > /var/www/.htaccess > > 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 ^/galaxy(.*) http://localhost:8080$1 [P] > > I created an empty 'galaxy' directory with 777 permissions on it under > /var/www > > > and universe_wsgi.ini > > > # Define the proxy-prefix filter. > [filter:proxy-prefix] > use = egg:PasteDeploy#prefix > prefix = /galaxy > > # ---- Galaxy --------------------------------------------------------------- > > # Configuration of the Galaxy application. > > [app:main] > filter-with = proxy-prefix > cookie_path = /galaxy > > > Thanks Neil > > > ___________________________________________________________ > The Galaxy User list should be used for the discussion of > Galaxy analysis and other features on the public server > at usegalaxy.org. Please keep all replies on the list by > using "reply all" in your mail client. For discussion of > local Galaxy instances and the Galaxy source code, please > use the Galaxy Development list: > > http://lists.bx.psu.edu/listinfo/galaxy-dev > > To manage your subscriptions to this and other Galaxy lists, > please use the interface at: > > http://lists.bx.psu.edu/ ___________________________________________________________ The Galaxy User list should be used for the discussion of Galaxy analysis and other features on the public server at usegalaxy.org. Please keep all replies on the list by using "reply all" in your mail client. For discussion of local Galaxy instances and the Galaxy source code, please use the Galaxy Development list: http://lists.bx.psu.edu/listinfo/galaxy-dev To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/