Erick Antezana wrote:
Nate,
in the URL you just sent, are the "Apache configuration with Galaxy not at the web server root" and "External authentication and $REMOTE_USER" mutually exclusive?
cheers, Erick
Not at all. Here's a sample configuration:
<Location /galaxy> AuthType Basic AuthName Galaxy AuthUserFile /htpasswd Require valid-user </Location>
# Required to pass REMOTE_USER <Proxy http://127.0.0.1:8080%3E Order deny,allow Allow from all </Proxy>
RewriteEngine on
RewriteCond %{IS_SUBREQ} ^false$ RewriteCond %{LA-U:REMOTE_USER} (.+) RewriteRule . - [E=RU:%1] RequestHeader set REMOTE_USER %{RU}e
RewriteRule ^/galaxy$ /galaxy/ [R] RewriteRule ^/galaxy(.*) http://127.0.0.1:8080$1 [P]
--nate