[EMAIL PROTECTED] SetEnvIf help (concepts OK, but lacks implementation)

2008-04-26 Thread Daniel Aleksandersen
Hi, This is for Apache 2.2.4 and newer. Comments explain what I am trying to achieve on each step. The coding is just what I think is right, but know not to be working. Please help me fix the coding. Help is very appreciated. SetEnvIfNoCase Host !^www.domain.tld$ wwwhost=no # Sets enviromental

Re: [EMAIL PROTECTED] mod_rewrite infinite loop problem

2008-04-26 Thread Joshua Slive
On Fri, Apr 25, 2008 at 4:32 PM, David Bylsma <[EMAIL PROTECTED]> wrote: > > Is there a simpler way? I would probably avoid the program rewrite map (which is a potential bottleneck). There are several ways to do this. One very simple one would be to make your RewriteRule something like RewriteRu

Re: [EMAIL PROTECTED] measuring cache hit ratio in mod_cache

2008-04-26 Thread Joshua Slive
On Fri, Apr 25, 2008 at 6:18 PM, Richard Hubbell <[EMAIL PROTECTED]> wrote: > Searched high-and-low and found nothing which usually > causes some concern for a couple different reasons. I > think that maybe my search was all wrong. So I try a > few different things. Still no luck; then I think

Re: [EMAIL PROTECTED] PHP/MySQL and COUNT() problem

2008-04-26 Thread Evert Lammerts
I've forwarded this msg to the php-db list ([EMAIL PROTECTED]). Try to subscribe to it. The mysql extension for php is only an interface between php and mysql - the parsing of queries is done within mysql itself. So if your query works through CLI it will also work from within php. Try to var_

[EMAIL PROTECTED] PHP/MySQL and COUNT() problem

2008-04-26 Thread Paul Heath
This may be the wrong message board for this [apologies if it is], but if any of you are PHP/MySQL gurus. Have been trying to get a particular MySQL query to work the through PHP5 with out success. I'll simplify my problem: I have an MySQL query along the lines of ("SELECT x,y,COUNT(y),z FROM tab