Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-16 Thread Rainer Jung
On 04.07.2010 04:16, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/3/2010 1:54 PM, Rainer Jung wrote: On 03.07.2010 14:08, Rainer Jung wrote: On 02.07.2010 22:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/2

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/3/2010 1:54 PM, Rainer Jung wrote: > On 03.07.2010 14:08, Rainer Jung wrote: >> On 02.07.2010 22:02, Christopher Schultz wrote: >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> Rainer, >>> >>> On 7/2/2010 10:13 AM, Rainer Jun

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-03 Thread Rainer Jung
On 03.07.2010 14:08, Rainer Jung wrote: On 02.07.2010 22:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/2/2010 10:13 AM, Rainer Jung wrote: On 02.07.2010 02:37, Christopher Schultz wrote: Okay, I changed my RewriteRule to this: RewriteRule .* /bad

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-03 Thread Rainer Jung
On 02.07.2010 22:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/2/2010 10:13 AM, Rainer Jung wrote: On 02.07.2010 02:37, Christopher Schultz wrote: Okay, I changed my RewriteRule to this: RewriteRule .* /bad-browser.shtml [L,E=no-jk] OK

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/2/2010 10:13 AM, Rainer Jung wrote: > On 02.07.2010 02:37, Christopher Schultz wrote: >> >> Okay, I changed my RewriteRule to this: >> >> RewriteRule .* /bad-browser.shtml [L,E=no-jk] > > OK, I did a little test: > > RewriteRul

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-02 Thread Rainer Jung
On 02.07.2010 02:37, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/1/2010 4:54 AM, Rainer Jung wrote: Usually mod_rewrite is perfectly compatible with mod_jk. I must confess, that I'm not 100% sure about the case, where you try to rewrite a request that

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-02 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/1/2010 4:54 AM, Rainer Jung wrote: Usually mod_rewrite is perfectly compatible with mod_jk. I must confess, that I'm not 100% sure about the case, where you try to rewrite a request that originally would have

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terence, On 6/30/2010 11:14 PM, Terence M. Bandoian wrote: > Here's an alternative: > > RewriteCond %{HTTP_USER_AGENT} Firefox/ > RewriteCond %{HTTP_USER_AGENT} > !Firefox/(3\.0\.19|3\.5\.9|3\.6\.3)($|[^\.0-9]) > RewriteRule .* /bad-browser.jsp

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/1/2010 4:54 AM, Rainer Jung wrote: > Usually mod_rewrite is perfectly compatible with mod_jk. I must confess, > that I'm not 100% sure about the case, where you try to rewrite a > request that originally would have been handled by mod_jk

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-01 Thread André Warnier
Rainer Jung wrote: On 30.06.2010 19:00, Christopher Schultz wrote: Slightly off-topic, but relevant. On our development servers, I'm trying to enforce a rule that all our users have the most up-to-date web browser available (yeah, it's an uphill battle, I know... just go with it). I decided to

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-01 Thread Rainer Jung
On 30.06.2010 19:00, Christopher Schultz wrote: Slightly off-topic, but relevant. On our development servers, I'm trying to enforce a rule that all our users have the most up-to-date web browser available (yeah, it's an uphill battle, I know... just go with it). I decided to use mod_rewrite to

[OT] Using httpd's mod_rewrite with mod_jk

2010-06-30 Thread Terence M. Bandoian
Hi, Chris- Here's an alternative: RewriteCond %{HTTP_USER_AGENT} Firefox/ RewriteCond %{HTTP_USER_AGENT} !Firefox/(3\.0\.19|3\.5\.9|3\.6\.3)($|[^\.0-9]) RewriteRule .* /bad-browser.jsp [L] And set the status in the JSP. By the way, I'm a little confused by the character class in the last

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terrence, On 6/30/2010 7:55 PM, Terence M. Bandoian wrote: > This should redirect to /bad-browser.shtml: > >RewriteCond %{HTTP_USER_AGENT} Firefox/ >RewriteCond %{HTTP_USER_AGENT} > !Firefox/(3\.0\.19|3\.5\.9|3\.6\.3)($|[^\.0-9]) >Rewrite

[OT] Using httpd's mod_rewrite with mod_jk

2010-06-30 Thread Terence M. Bandoian
Hi, Chris- This should redirect to /bad-browser.shtml: RewriteCond %{HTTP_USER_AGENT} Firefox/ RewriteCond %{HTTP_USER_AGENT} !Firefox/(3\.0\.19|3\.5\.9|3\.6\.3)($|[^\.0-9]) RewriteRule .* /bad-browser.shtml [R=307,L] Looks just about like what you already had though. I'm not sure t

[OT] Using httpd's mod_rewrite with mod_jk

2010-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Slightly off-topic, but relevant. On our development servers, I'm trying to enforce a rule that all our users have the most up-to-date web browser available (yeah, it's an uphill battle, I know... just go with it). I decided to use mod_rewrite