Re: [us...@httpd] redirect IE6 with mod_rewrite

2009-08-04 Thread MK
On 08/03/2009 06:38:12 PM, Sander Temme wrote: mod_rewrite shares its thoughts with you through the RewriteLog at RewriteLogLevel (or somesuch). At level 10, it gets quite chatty and Thanks, much appreciated. - The

Re: [us...@httpd] redirect IE6 with mod_rewrite

2009-08-03 Thread Matus UHLAR - fantomas
On 02.08.09 17:38, MK wrote: I'm trying to redirect IE6 users to a special page using mod_rewrite, ... RewriteCond %{HTTP_USER_AGENT} .*Mozilla.* ... I've played around lots with the regex (^Mozilla.*, Mozilla, ^Mozilla, even .*), etc. but nothing works. many browsers advertise themselves

Re: [us...@httpd] redirect IE6 with mod_rewrite

2009-08-03 Thread Jonathan Zuckerman
On Mon, Aug 3, 2009 at 4:31 AM, Matus UHLAR - fantomasuh...@fantomas.sk wrote: On 02.08.09 17:38, MK wrote: I'm trying to redirect IE6 users to a special page using mod_rewrite, ... RewriteCond %{HTTP_USER_AGENT}  .*Mozilla.* ... I've played around lots with the regex (^Mozilla.*, Mozilla,

Re: [us...@httpd] redirect IE6 with mod_rewrite

2009-08-03 Thread Sander Temme
On Aug 2, 2009, at 4:26 PM, MK wrote: On 08/02/2009 06:35:32 PM, Eric Covener wrote: You can't redirect to a relative path. Yeah, that was it. Kind of peeved, tho, that even with LogLevel set to debug apache throws absolutely no explanation or error for this. mod_rewrite shares its

[us...@httpd] redirect IE6 with mod_rewrite

2009-08-02 Thread MK
I'm trying to redirect IE6 users to a special page using mod_rewrite, since this seems to be the usual suggestion googling. I'm testing it this way to see if the method will work: RewriteEngine On RewriteCond %{HTTP_USER_AGENT} .*Mozilla.* RewriteRule html$ error.mhtml [L] which I

[us...@httpd] redirect IE6 with mod_rewrite

2009-08-02 Thread MK
Okay, sorry, that was because I did not include the directive within VirtualHost. However, rather than redirecting, I now get a 400 Bad Request error. - The official User-To-User support forum of the Apache HTTP Server

Re: [us...@httpd] redirect IE6 with mod_rewrite

2009-08-02 Thread Eric Covener
On Sun, Aug 2, 2009 at 6:26 PM, MKhalfcountp...@intergate.com wrote: Okay, sorry, that was because I did not include the directive within VirtualHost.  However, rather than redirecting, I now get a 400 Bad Request error. You can't redirect to a relative path. -- Eric Covener

Re: [us...@httpd] redirect IE6 with mod_rewrite

2009-08-02 Thread MK
On 08/02/2009 06:35:32 PM, Eric Covener wrote: You can't redirect to a relative path. Yeah, that was it. Kind of peeved, tho, that even with LogLevel set to debug apache throws absolutely no explanation or error for this. Your browser (or proxy) sent a request that this server could not