Re: [galaxy-dev] apache setting

2014-05-12 Thread Jun Fan
Hi Carlos,

  It worked perfectly last time. But now on the new Ubuntu 14.04, no file 
called default exists under the folder sites-available, instead there are two 
files: 000-default.conf and default-ssl.conf. From the content of the files, 
000-default.conf is more likely to be the alternative. I inserted directives as 
before and restart the apache service. The web browser told me that “Permission 
denied” even the galaxy-dist folder and its subfolder have at least 744 
permission (everyone should be able to read). How can I solve this “Permission 
denied” issue?

Best regards!
Jun

From: Carlos Borroto [mailto:carlos.borr...@gmail.com]
Sent: Tuesday, March 25, 2014 3:45 PM
To: Jun Fan
Cc: galaxy-dev@lists.bx.psu.edu
Subject: Re: [galaxy-dev] apache setting

On Monday, March 24, 2014, Jun Fan j@qmul.ac.ukmailto:j@qmul.ac.uk 
wrote:
RewriteEngine on
RewriteRule ^(.*) http://localhost:8080$1 [P]
  I tried to add them to 1) the main conf file: apache2.conf, 2) newly 
generated httpd.conf by myself under /etc/apache2 folder and 3) newly generated 
.htaccess file under /etc/apache2/conf.d folder, and none of them gave me the 
luck.


This thread might help you:
http://dev.list.galaxyproject.org/Running-Galaxy-behind-apache2-td4624545.html

--Carlos
___
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:
  http://lists.bx.psu.edu/

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

Re: [galaxy-dev] apache setting

2014-05-12 Thread Carlos Borroto
It could be something else, but the directory's permissions need to be
'755'. The 'x' in a directory context means being able to change into
the directory.

On Mon, May 12, 2014 at 7:01 AM, Jun Fan j@qmul.ac.uk wrote:
 Hi Carlos,



   It worked perfectly last time. But now on the new Ubuntu 14.04, no
 file called default exists under the folder sites-available, instead there
 are two files: 000-default.conf and default-ssl.conf. From the content of
 the files, 000-default.conf is more likely to be the alternative. I inserted
 directives as before and restart the apache service. The web browser told me
 that “Permission denied” even the galaxy-dist folder and its subfolder have
 at least 744 permission (everyone should be able to read). How can I solve
 this “Permission denied” issue?



 Best regards!

 Jun



 From: Carlos Borroto [mailto:carlos.borr...@gmail.com]
 Sent: Tuesday, March 25, 2014 3:45 PM
 To: Jun Fan
 Cc: galaxy-dev@lists.bx.psu.edu
 Subject: Re: [galaxy-dev] apache setting



 On Monday, March 24, 2014, Jun Fan j@qmul.ac.uk wrote:

 RewriteEngine on

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

   I tried to add them to 1) the main conf file: apache2.conf, 2) newly
 generated httpd.conf by myself under /etc/apache2 folder and 3) newly
 generated .htaccess file under /etc/apache2/conf.d folder, and none of them
 gave me the luck.





 This thread might help you:
 http://dev.list.galaxyproject.org/Running-Galaxy-behind-apache2-td4624545.html



 --Carlos

___
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:
  http://lists.bx.psu.edu/

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

Re: [galaxy-dev] apache setting

2014-03-25 Thread Carlos Borroto
On Monday, March 24, 2014, Jun Fan j@qmul.ac.uk wrote:

  RewriteEngine on

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

   I tried to add them to 1) the main conf file: apache2.conf, 2) newly
 generated httpd.conf by myself under /etc/apache2 folder and 3) newly
 generated .htaccess file under /etc/apache2/conf.d folder, and none of them
 gave me the luck.



This thread might help you:
http://dev.list.galaxyproject.org/Running-Galaxy-behind-apache2-td4624545.html

--Carlos
___
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:
  http://lists.bx.psu.edu/

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

[galaxy-dev] apache setting

2014-03-24 Thread Jun Fan
Hi all,

   Following the instruction on 
https://wiki.galaxyproject.org/Admin/Config/ApacheProxy to use Apache as proxy 
for Galaxy, I got stuck to put directives into the configuration file.
   The steps I took include:

1.   install apache2: sudo apt-get install apache2

2.   install modules mod_proxy, mod_http_proxy and mod_rewrite to support 
proxying

a.   check if mod are already enabled using: apache2ctl -M

b.  install: sudo a2enmod rewrite, sudo a2enmod proxy, sudo a2enmod 
proxy_http

3.   give galaxy permission to the apache user

a.   find out the user who runs apache: ps -ef | grep apache  and find out 
it is www-data

b.  find out groups galaxy belong: groups galaxy = galaxy

c.   add user www-data to group galaxy: sudo usermod -a -G galaxy www-data
I believe that I have completed the job required above the Basic 
configuration section.
I tried the first example:
RewriteEngine on
RewriteRule ^(.*) http://localhost:8080$1 [P]
  I tried to add them to 1) the main conf file: apache2.conf, 2) newly 
generated httpd.conf by myself under /etc/apache2 folder and 3) newly generated 
.htaccess file under /etc/apache2/conf.d folder, and none of them gave me the 
luck.
  I used sudo service apache2 restart after every time I tried. There is 
a warning  Could not reliably determine the server's fully qualified domain 
name, using 127.0.1.1 for ServerName. When I type the address 127.0.0.1 or 
127.0.1.1, both of them only gave me the default apache home page, not the 
Galaxy page. Of course the Galaxy is running on the same server.
  Could anyone give me some clue to continue?

Best regards!
Jun


___
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:
  http://lists.bx.psu.edu/

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