RE: RewriteCond to select by username

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

> -----Original Message-----
> From: Eric Covener [mailto:covener@xxxxxxxxx] 
> Sent: Saturday, July 13, 2013 12:43
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re:  RewriteCond to select by username
> 
> On Sat, Jul 13, 2013 at 12:41 PM, Michael D. Berger 
> <m.d.berger@xxxxxxxx> wrote:
> > On my fedora 16 box using httpd.x86_64 2.2.21-1.fc16, using SSL,
> >
> > I tried:
> >
> > <Directory whatever>
> >       ...
> >    RewriteCond %{REMOTE_USER} ^mike$
> >    RewriteRule <something known to work>
> >    ...
> > </Directory>
> >
> > and variations thereof.
> >
> > My intention is to have the RewriteRule run iff "mike" is logged on.
> > It didn't work.
> >
> Check out the Look-ahead examples in the manual.
> 
[...]

Following this suggestion, I tried:

   RewriteCond %{LA-U:REMOTE_USER} ^mike$

and a few related things.  It still fails.

Thanks for additional information.

Mike.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux