RewriteCond ${REMOTE_USER} . does not seem to work when the REMOTE_USER is not defined. The statement evaluates to true.
I plan of writing -e directive. Michele -----Original Message----- From: Bob Ionescu [mailto:bobsie...@googlemail.com] Sent: Monday, February 09, 2009 8:34 AM To: modules-...@httpd.apache.org Subject: Re: Making mod_auth_digest mysql 2009/2/8 Michele Waldman <mmwald...@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