httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Waldman" <mmwald...@nyc.rr.com>
Subject RE: Making mod_auth_digest mysql
Date Mon, 09 Feb 2009 01:18:58 GMT
I don't drink that frequently, but when I do I get chatty, even on the
computer.

-----Original Message-----
From: Ray Morris [mailto:support@bettercgi.com] 
Sent: Sunday, February 08, 2009 8:00 PM
To: modules-dev@httpd.apache.org
Subject: Re: Making mod_auth_digest mysql

> Sorry, about the extraneous personal notes. 
> The I love you was an exaggeration of thank you.
> I kid around.  I don't know that people
> understand that.

   No problem - I get a lot of that. :)

> I should never go near a computer when I'm 
> drinking.  I also type stuff I regret.

   It used to be I shouldn't go around ANYTHING 
when I was drinking, which was pretty often!
Then thirteen years ago I found a way that I 
don't need to drink like that any more, thankfully.
--
Ray B. Morris
support@bettercgi.com

Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php


On 02/08/2009 09:05:54 AM, Michele Waldman wrote:
> Sorry, about the extraneous personal notes.  The I love you was an
> exaggeration of thank you.  I kid around.  I don't know that people
> understand that.
> 
> I had already started drinking in celebration of finishing my 
> project.
> 
> I should never go near a computer when I'm drinking.  I also type
> stuff I
> regret.
> 
> Thank you again.
> 
> 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?
> 
> Michele
> 
> -----Original Message-----
> From: Ray Morris [mailto:support@bettercgi.com] 
> Sent: Friday, February 06, 2009 3:05 PM
> To: modules-dev@httpd.apache.org
> Subject: Re: Making mod_auth_digest mysql
> 
> > I'm thinking about adding a -e flag for environment 
> > variable does not exist to httpd on my server.  
> > It would return true if the variable exists 
> > or false, otherwise. Is there a way to already 
> > do this?
> 
> 
>   For your purpose, you can use:
> RewriteCond %{REMOTE_USER} !.
> or as appropriate:
> RewriteCond %{REMOTE_USER} .
> 
> That will check for any non-empty value 
> by matching at least any single character.
> 
> 
> > It looks like: RewriteCond ${REMOTE_USER} !="" always 
> > evaluates to true if REMOTE_USER does not exist.  
> > Am I wrong?
> 
> 
>   That's correct, if it doesn't exist, it's not
> the empty string.  What's in that bucket on your 
> desk?  "There is no bucket" is a different answer 
> than "the bucket is empty".  Since you apparently 
> understand SQL, let me explain that by saying it's 
> the same thing as the difference between trying 
> to get the value of a column which doesn't exist, 
> which is an outright error, versus a column with 
> the value 0, versus a text column with empty 
> text (""), versus an unknown value, represented 
> by NULL.  Not existing isn't the same thing as
> existing and being empty.
> --
> Ray B. Morris
> support@bettercgi.com
> 
> Strongbox - The next generation in site security:
> http://www.bettercgi.com/strongbox/
> 
> Throttlebox - Intelligent Bandwidth Control
> http://www.bettercgi.com/throttlebox/
> 
> Strongbox / Throttlebox affiliate program:
> http://www.bettercgi.com/affiliates/user/register.php
> 
> 
> On 02/05/2009 10:43:57 PM, Michele Waldman wrote:
> > RewriteCond has flags -f -d ...
> > But not -e for exists.
> > It looks like:
> > RewriteCond ${REMOTE_USER} !="" always evaluates to true if
> > REMOTE_USER does
> > not exist.  Am I wrong?
> > I'm thinking about adding a -e flag for environment variable does
> not
> > exist
> > to httpd on my server.  It would return true if the variable exists 
> > or
> > false, otherwise.
> > Is there a way to already do this?
> > Thoughts?
> > 
> > Michele
> > 
> > 
> > 
> 
> 
> 



Mime
View raw message