I'm sorry I wasted your time on that.  I've been programming 25 years and
can read code.  When I thought about it a minute ago, it totally made sense.

Michele

-----Original Message-----
From: Bob Ionescu [mailto:[email protected]] 
Sent: Monday, February 09, 2009 8:34 AM
To: [email protected]
Subject: Re: Making mod_auth_digest mysql

2009/2/8 Michele Waldman <[email protected]>:
> But, I have to know how does
>
> RewriteCond ${REMOTE_USER} .
>
> Is the . for any character?  Why does it evaluate correctly when undefined
> and !="" doesn't?

. is one "any character", yes. ="" is empty (equiv. to the regEx ^$).
If you negate the meaning with an exclamation mark, !="", it stands
for "is not empty". If '.' evaluates, there's at least one character
returned for your search string. But ${REMOTE_USER} should read
%{REMOTE_USER} (% instead of $).

Bob

Reply via email to