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 Thu, 12 Feb 2009 20:44:10 GMT
On Thu, Feb 12, 2009 at 3:27 PM, Michele Waldman <mmwaldman@nyc.rr.com> wrote:
>>> RewriteCond ${REMOTE_USER} . does not seem to work when the REMOTE_USER is
>>> not defined.  The statement evaluates to true.
>>
>> What happens when you use the proper syntax,  %{REMOTE_USER}?

> Lol.  I'm using the proper syntax on the server.  Just checked.

Works for me:  http://apache.pastebin.ca/1335270

.htaccess:
RewriteEngine on
RewriteCond %{REMOTE_USER} .
RewriteRule .* - [G]

127.0.0.1 - - [12/Feb/2009:15:40:42 --0500]
[localhost/sid#954fc98][rid#9578328/initial] (4) RewriteCond: input=''
pattern='.' => not-matched

-- 
Eric Covener
covener@gmail.com

Mime
View raw message