I'm trying to setup galaxy to run with apache and external
authentication - and I can't get this to work.
(This is a not a galaxy question per se, more of an apache question, but
hopefully you can still help me).
First step was to setup apache/galaxy with mode rewrite - works
perfectly. I've added these two lines to a 'conf' file in /etc/httpd/conf.d:
ReWriteRule ^/galaxy$ /galaxy/ [R]
RewriteRule ^/galaxy(.*) http://localhost:8080$1
Browsing to http://myserver/galaxy
indeed goes to galaxy and works ok.
Then, I've tested a simple authentication directive (independent of galaxy):
Alias /galaxy "/home/gordon/galaxy"
AuthName "Restricted Files"
Require user gordon
And this also works OK.
Now I want to combine the two - but it doesn't work.
My "ReWriteRule" are ignored when they are inside a <Directory> clause.
I've also tried <Location> - same results.
Any ideas ?