httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: Making mod_auth_digest mysql
Date Fri, 06 Feb 2009 21:25:01 GMT
On Fri, Feb 6, 2009 at 12:35 PM, Eric Covener <covener@gmail.com> wrote:
> On Fri, Feb 6, 2009 at 12:10 PM, Michele Waldman <mmwaldman@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
covener@gmail.com

Mime
View raw message