[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

identification problem with a complex setup

From: Proniewski Patrick <patrick.proniewski_at_univ-lyon2.fr>
Date: 2005-01-27 13:44:24 CET


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

mod_dav_svn seems unable to get the value of REMOTE_USER.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 27 13:47:00 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.