You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Michael D. Berger" <m....@ieee.org> on 2013/07/13 18:41:37 UTC

[users@httpd] RewriteCond to select by username

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.

Thanks for your advice.

Mike.


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


Re: [users@httpd] RewriteCond to select by username

Posted by Eric Covener <co...@gmail.com>.
On Sat, Jul 13, 2013 at 12:41 PM, Michael D. Berger <m....@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.

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