On Thu, 2009-05-28 at 10:52 +0200, Efjestad, Dag wrote: > Hi. > > I can't get access to the REMOTE_USER value when I do a proxy request. The value is empty. > RewriteRule ^/kongsberg(.*) http://aeoas02/kongsberg/%{LA-U:REMOTE_USER}$1 [P,L] > > For rewrite against directory URL's I get the value. > RewriteRule ^/kongsberg(.*) /kongsberg/%{LA-U:REMOTE_USER}$1 [L] > > and for redirect it works: > RewriteRule ^/kongsberg(.*) http://aeoas02/kongsberg/%{LA-U:REMOTE_USER}$1 [R,L] > > > I also tried this syntaks with same result - no value in REMOTE_USER env. var.: > RewriteCond %{LA-U:REMOTE_USER} (.+) > RewriteRule . - [E=RU:%1] > > ProxyRequests Off > ProxyPassInterpolateEnv On > ProxyPass /kongsberg/ http://aeoas02/kongsberg/${RU}/ interpolate > ProxyPassReverse /kongsberg/ http://aeoas02/kongsberg/${RU}/ interpolate > > > I also noticed that I can see the username value in the access logfile but not in the rewrite logfile. > > Suggestions anyone? > > > Kind regards, Dag > Does this not work? RewriteCond %{LA-U:REMOTE_USER} (.+) RewriteRule /kongsberg/ http://aeoas02/kongsberg/%1/ [P] Cheers Tom --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx