On 12/21/2010 07:12 PM, Andrew Schulman wrote:
My email client displayed what you wanted me to insert incorrectly. I
put the code in correctly but it still does not work. I added R=301 to
the end so that it would redirect so I could check the apache logs.
Good debugging trick.
For debugging
-
From: Andrew Schulman [mailto:and...@alumni.utexas.net]
Sent: Tuesday, December 21, 2010 12:13 PM
To: users@httpd.apache.org
Subject: [us...@httpd] Re: RewriteCond how to set variable
> My email client displayed what you wanted me to insert incorrectly. I
> put the code in correctly
> My email client displayed what you wanted me to insert incorrectly. I
> put the code in correctly but it still does not work. I added R=301 to
> the end so that it would redirect so I could check the apache logs.
Good debugging trick.
-
> My email client displayed what you wanted me to insert incorrectly. I
> put the code in correctly but it still does not work. I added R=301 to
> the end so that it would redirect so I could check the apache logs.
>
> The apache log shows this:
> uob017.admin.uiuc.edu - - [21/Dec/2010:11:46:23
alumni.utexas.net]
Sent: Tuesday, December 21, 2010 11:05 AM
To: users@httpd.apache.org
Subject: [us...@httpd] Re: RewriteCond how to set variable
> Thanks for your response. I get the following error message:
> RewriteCond: unknown flag 'E'
That's because the E flag is only va
> From: Andrew Schulman [mailto:and...@alumni.utexas.net]
> Sent: Tuesday, December 21, 2010 9:41 AM
> To: users@httpd.apache.org
> Subject: [us...@httpd] Re: RewriteCond how to set variable
>
> > I have the following RewriteCond. I put numbers in front of each lin
ecember 21, 2010 9:41 AM
To: users@httpd.apache.org
Subject: [us...@httpd] Re: RewriteCond how to set variable
> I have the following RewriteCond. I put numbers in front of each line
> for reference:
>
> 1) RewriteCond %{QUERY_STRING} !XSL=NONE [NC]
>
> 2) RewriteCond
> I have the following RewriteCond. I put numbers in front of each line
> for reference:
>
> 1) RewriteCond %{QUERY_STRING} !XSL=NONE [NC]
>
> 2) RewriteCond %{QUERY_STRING} calId=([0-9]+) [NC]
>
> 3) RewriteCond %{QUERY_STRING} skinId=([0-9]+) [NC]
>
> 4) RewriteRule ^/cal