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
I did find a work around by doing the follow:
RewriteCond %{QUERY_STRING} !XSL=NONE [NC]
RewriteCond %{QUERY_STRING} skinId=([0-9]+)(.*)calId=([0-9]) [NC]
RewriteRule ^/calendar
http://test.webservices.illinois.edu/calendar/list/%3?skinId=%1
[L,R=301]
RewriteCond %{QUERY_STRING} !XSL=NONE [NC]
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 -0600] "GET
Thanks for your response. I get the following error message:
RewriteCond: unknown flag 'E'
What I used:
RewriteCond %{QUERY_STRING} !XSL=NONE [NC]
RewriteCond %{QUERY_STRING} calId=([0-9]+) [E=CALID:%1]
RewriteCond %{QUERY_STRING} skinId=([0-9]+) [E=SKINID:%1]
RewriteRule ^/calendar/list
http://t