> > > > I tried that, but I wanted to achieve this based on username. I never > > thought about IP address. Thanks. So, is there no way to do it based on > > username? > > Username can mean any number of things. What specifically do you mean? > HTTP Basic/Digest auth user? If so, you would need to do some funky > stuff because SetEnvIf can't access REMOTE_USER: > > RewriteEngine On > RewiteCond %{LA-U:REMOTE_USER} ^theuser$ > RewriteRule .* - [E=theuser:1] > CustomLog ... env=!theuser > > (Not tested, but it should be close.)
Thanks, exactly what I was looking for. I'll test it and deploy :) Br, --- Miha Vitorovic Inženir v tehničnem področju Customer Support Engineer NIL Data Communications, Tivolska cesta 48, 1000 Ljubljana, Slovenia Phone +386 1 4746 500 Fax +386 1 4746 501 http://www.NIL.si --------------------------------------------------------------------- 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: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]