httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Ionescu <bobsie...@googlemail.com>
Subject Re: Making mod_auth_digest mysql
Date Mon, 09 Feb 2009 13:34:04 GMT
2009/2/8 Michele Waldman <mmwaldman@nyc.rr.com>:
> 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

Mime
View raw message