> RewriteEngine on > RewriteCond %{LA-U:REMOTE_USER} (.+) > RewriteRule . - [E=RU:%1,NS] > RequestHeader set REMOTE_USER "%{RU}e" env=RU > RequestHeader set REMOTE_USER_SECRET "*************" > </Location> Any more details on the looping behavior? The rewrites don't make a substitution much less a redirect so it doesn't fit the usual pattern. It is also a bit odd that look-ahead is used here. %{REMOTE_USER} should be directly accessible to the rewritecond when it's used inside <location> context (this has a side effect of delaying the evaluation, and it's after authentication). I guess there is some slight chance that removing some of this look-ahead complexity could even help your symptom? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx