httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael D. Berger" <m.d.ber...@ieee.org>
Subject RE: [users@httpd] RewriteCond to select by username FIXED
Date Sat, 13 Jul 2013 17:40:01 GMT
 

> -----Original Message-----
> From: Michael D. Berger [mailto:m.d.berger@ieee.org] 
> Sent: Saturday, July 13, 2013 13:12
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] RewriteCond to select by username
> 
>  
> 
> > -----Original Message-----
> > From: Eric Covener [mailto:covener@gmail.com]
> > Sent: Saturday, July 13, 2013 12:43
> > To: users@httpd.apache.org
> > Subject: Re: [users@httpd] RewriteCond to select by username
> > 
> > On Sat, Jul 13, 2013 at 12:41 PM, Michael D. Berger 
> > <m.d.berger@ieee.org> 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.
> 
> 
Correction:

LA-U in fact solves the problem.  The previous test was contaminated
by another "fix" I forgot to remove.

Thanks,
Mike.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message