On Apr 16, 2013, at 4:30 PM, Lee Katz wrote:
Thanks Jen. I tried a few more things before posting to galaxy-dev, and it turns out that I had the default virtual host still running, while I tried to have a galaxy virtualhost running alongside it. I think it should be possible to do that still, but it simplified and corrected it when I removed the default virtual host from apache/sites-enabled
I have a second question now. Where would I put the .htaccess file for it to be read correctly? I tried this line in my new virtualhost file, but no password prompt appears
AccessFileName /home/galaxy/bin/galaxy-dist/static/.htaccess
More info: All directories are chmod 775 for user galaxy starting with /home/galaxy/
$ cat static/.htaccess AuthType Basic AuthName "Yay Bioinformatics" AuthUserFile /home/galaxy/bin/galaxy-dist/htpasswd require valid-user $ cat htpasswd EDLB:xxxxxxxxxxxxx $ ll static/.htaccess -rw-r--r-- 1 galaxy galaxy 117 Apr 8 17:16 static/.htaccess ll htpasswd -rw-r--r-- 1 root root 19 Apr 8 17:32 htpasswd
Hi Lee, It's best to simply put the authentication configuration directly in the Apache config file where you're defining the VirtualHost. Note that Galaxy also has functionality to restrict access itself, if you prefer. The relevant configuration option is 'require_login'. --nate
On Mon, Apr 15, 2013 at 4:28 PM, Jennifer Jackson <jen@bx.psu.edu> wrote: Hello Lee,
Please see the section " External user authentication" on this wiki: http://wiki.galaxyproject.org/Admin/Config/Apache%20Proxy
If you still need help, posting this question over on the galaxy-dev@bx.psu.edu mailing list (but not cross-posting) with more details about what you have tried (how this solution was not a fit, etc.) will give you question the best exposure to the development community. http://wiki.galaxyproject.org/MailingLists
Best,
Jen Galaxy team
On 4/15/13 1:06 PM, Lee Katz wrote:
Hi, I am relatively new to Galaxy. I would like to set it up as an apache password protected site. I have tried to do it, but I realize now that it has its own server built-in and that it is ineffective to set up .htaccess because it isn't reading .htaccess (or so I think).
More information: Apache works (test page loads, and I can change it), and Galaxy works (I even made a new tool that is working). I have Ubuntu 12.
My basic, basic need is to set up a server-level password like what .htaccess would provide. Could anyone help? Thank you.
-- Lee Katz, Ph.D.
___________________________________________________________ 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:
To search Galaxy mailing lists use the unified search at:
-- Jennifer Hillman-Jackson Galaxy Support and Training
-- Lee Katz, Ph.D. ___________________________________________________________ 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:
To search Galaxy mailing lists use the unified search at: