On Fri, Feb 6, 2009 at 12:35 PM, Eric Covener <cove...@gmail.com> wrote:
> On Fri, Feb 6, 2009 at 12:10 PM, Michele Waldman <mmwald...@nyc.rr.com> wrote:
>> The isn't one.  I'm talking about writing it.
>
> Not in the email I replied to, that you included in your reply.

Sorry, I'm finally grokking that you're trying to implement "-e".

> RewriteCond ${REMOTE_USER} !="" always evaluates to true if REMOTE_USER does
> not exist.  Am I wrong?

Your syntax is wrong, RewriteLog might tell you you're comparing the
string with the dollar sign in it and not any actual substitution.


The following two work as expected for me, with the caveat about
%{REMOTE_USER} availability during per-vhostrewrite:

RewriteCond %{REMOTE_USER} !=""
and
Rewriteocnd %{ENV:DOESNOTEXIST} !=""

-- 
Eric Covener
cove...@gmail.com

Reply via email to