On Wed, Sep 29, 2010 at 04:44:25PM -0400, Brian J. Abraham wrote:
Hello developers,
I am attempting to install a local production copy of Galaxy on an
SLES 11 machine running Apache 2.2.16 and PostgreSQL. It is important
that we keep our data protected via password so I am trying to use
Apache's standard .htaccess for security.
[snip]
<Directory "/home/abrahamb2/galaxy-dist">
Options Indexes FollowSymLinks
AllowOverride AuthConfig
Order allow,deny
Allow from all
AuthType Basic
AuthName Galaxy
AuthUserFile /usr/local/apache/.htpasswd
Require valid-user
</Directory>
Brian, I run galaxy on SLES11 behind a password wall and I did it using
an Apache config like that described on the galaxy wiki:
http://bitbucket.org/galaxy/galaxy-central/wiki/Config/ApacheProxy
Rather than use <directory> stanzas to protect files on disk it puts the
authentication requirements in the <location> block which is both safer
and cleaner.
Also, you'll want to put that config in the /etc/apache2 area, likely in
a vhost, not in a .htaccess file.
If you have any sles11 specific questions feel free to contact me
directly, but what Nate has on the wiki worked for me.
--
Ry4an Brase 612-626-6575
University of Minnesota Supercomputing Institute
for Advanced Computational Research
http://www.msi.umn.edu