RE: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-22 Thread West, Chris
ed in England no: 53419 VAT number: 432 99 5915 -Original Message- From: Neil A. Hillard [mailto:[EMAIL PROTECTED] Sent: 21 May 2007 16:33 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic Hi, Joshua Slive

Re: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread Joshua Slive
On 5/21/07, Neil A. Hillard <[EMAIL PROTECTED]> wrote: Hi, Joshua Slive wrote: > In any case, this isn't going to work. The regular expression used in > RewriteCond (and RewriteRule and SetEnvIf) cannot contain variables. > It is compiled at server-start and doesn't have access to anything >

Re: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread Neil A. Hillard
Hi, Joshua Slive wrote: > On 5/21/07, Krist van Besien <[EMAIL PROTECTED]> wrote: >> On 5/21/07, West, Chris <[EMAIL PROTECTED]> wrote: >> > Hi Krist, >> > >> > Sorry to get back to you again, I have tried the format you described >> > and still have problems, is the following how you would expect

RE: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread West, Chris
al Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: 21 May 2007 16:14 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic On 5/21/07, Krist van Besien <[EMAIL PROTECTED]> wrote: &g

Re: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread Joshua Slive
On 5/21/07, Krist van Besien <[EMAIL PROTECTED]> wrote: On 5/21/07, West, Chris <[EMAIL PROTECTED]> wrote: > Hi Krist, > > Sorry to get back to you again, I have tried the format you described > and still have problems, is the following how you would expect the > rewrite condition to look? I hav

RE: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread West, Chris
: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic On 5/21/07, West, Chris <[EMAIL PROTECTED]> wrote: > Hi Krist, > > Sorry to get back to you again, I have tried the format you described > and still hav

Re: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread Krist van Besien
On 5/21/07, West, Chris <[EMAIL PROTECTED]> wrote: Hi Krist, Sorry to get back to you again, I have tried the format you described and still have problems, is the following how you would expect the rewrite condition to look? I have tried both, neither giving the result expected. 1. Rewrit

RE: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread West, Chris
, London W1J 6ER Registered in England no: 53419 VAT number: 432 99 5915 -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: 21 May 2007 12:46 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional

RE: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread West, Chris
: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic On 5/21/07, West, Chris <[EMAIL PROTECTED]> wrote: > > > > I am trying to perform some conditional logic in my httpd.conf file > comparing two envir

Re: [EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread Krist van Besien
On 5/21/07, West, Chris <[EMAIL PROTECTED]> wrote: I am trying to perform some conditional logic in my httpd.conf file comparing two environment variables, the result of which will be used to limit the logging in my referer logfile. I have tried using both SetEnvIf and RewriteCond to perform

[EMAIL PROTECTED] Comparing environmental variables in httpd.conf for conditional logic

2007-05-21 Thread West, Chris
I am trying to perform some conditional logic in my httpd.conf file comparing two environment variables, the result of which will be used to limit the logging in my referer logfile. I have tried using both SetEnvIf and RewriteCond to perform the logic in the following ways. 1: Using SetEnvIf