You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Proniewski Patrick <pa...@univ-lyon2.fr> on 2005/01/27 12:44:24 UTC
identification problem with a complex setup
Hello
in order to use our standard auth server with mod_dav_svn on Apache 2,
I need mod_auth_apple to work with Apache 2 which is not possible at
this time.
All I have now is :
Apache 1.3 in front, serving mod_auth_apple, and proxying requests
(mod_proxy) to Apache 2.
Apache 2 in the background, serving mod_dav_svn.
It works ok, but :
- I can't use mod_authz_svn
- svn keyword substitution cannot find the user name (because Apache
1.3 has it and will not forward it via mod_proxy)
I tried to use mod_rewrite on both apache's to put REMOTE_USER in the
url on the front apache, and to set back environment variable
REMOTE_USER and the second apache, but with no succes, so far.
Is there any way for mod_dav_svn to get the username from Apache
environment variables ?
I'm putting the username in the URL on the front apache this way :
AuthType Basic
AuthName "svn"
Require valid-user
RewriteEngine On
RewriteRule ^(.*) $1/u=%{REMOTE_USER}/ [L]
and I'm trying to get it back in environment variables on the back
apache this way :
RewriteRule ^(.*)/u=([^/]+)/(.*) $1/$3
[L,E=REMOTE_USER:$2,E=REMOTE_IDENT:$2,P]
mod_dav_svn seems unable to get the value of REMOTE_USER.
patpro
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org