Re: Any experience with Tuckey UrlRewrite servlet filter?

2016-04-30 Thread Lyallex
snip > Unfortunately, it looks like Tomcat doesn't support setting the response > code for the redirect. That sounds like it would be a nice thing to be > able to configure. Care to file a bug? Done Bug 59399 - Tomcat doesn't support setting the response code for http -> https redirect > You

Re: Any experience with Tuckey UrlRewrite servlet filter?

2016-04-30 Thread Lyallex
On 29 April 2016 at 19:49, Christopher Schultz wrote: > Lyallex, > > On 4/29/16 12:50 AM, Lyallex wrote: >> On 28 April 2016 at 23:04, Christopher Schultz >> wrote: snip > 1. You want to redirect requests to hostnames not on your

Re: Any experience with Tuckey UrlRewrite servlet filter?

2016-04-29 Thread Christopher Schultz
Lyallex, On 4/29/16 12:50 AM, Lyallex wrote: > On 28 April 2016 at 23:04, Christopher Schultz > wrote: > Lyallex, > > On 4/28/16 1:12 PM, Lyallex wrote: apache-tomcat-7.0.42 jdk1.8.0_77 CentOS Linux 7.2.1511 urlrewritefilter-4.0.3.jar I'm using

Re: Any experience with Tuckey UrlRewrite servlet filter?

2016-04-29 Thread Lyallex
On 29 April 2016 at 14:57, André Warnier (tomcat) wrote: > On 29.04.2016 12:52, Lyallex wrote: >> >> On 29 April 2016 at 08:44, André Warnier (tomcat) wrote: >>> >>> On 29.04.2016 08:59, Lyallex wrote: The problem is despite setting the to-type to

Re: Any experience with Tuckey UrlRewrite servlet filter?

2016-04-29 Thread Lyallex
On 29 April 2016 at 08:44, André Warnier (tomcat) wrote: > On 29.04.2016 08:59, Lyallex wrote: >> >> The problem is despite setting the to-type to permanent-redirect I'm actually getting a 302 temporary-redirect. I know this is probably off topic but if anyone

Re: Any experience with Tuckey UrlRewrite servlet filter?

2016-04-29 Thread tomcat
On 29.04.2016 08:59, Lyallex wrote: The problem is despite setting the to-type to permanent-redirect I'm actually getting a 302 temporary-redirect. I know this is probably off topic but if anyone has any experience of this I'd be gratefull to hear how you solved it If this was Apache httpd,

Re: Any experience with Tuckey UrlRewrite servlet filter?

2016-04-29 Thread Lyallex
On 28 April 2016 at 18:21, jieryn wrote: > You can get the same effect using standard web.xml fragment and > without a 3rd party dependency: > > > > > > /* > > > CONFIDENTIAL > > Hi, and thanks for taking the time to reply.

Re: Any experience with Tuckey UrlRewrite servlet filter?

2016-04-28 Thread Lyallex
On 28 April 2016 at 23:04, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Lyallex, > > On 4/28/16 1:12 PM, Lyallex wrote: >> apache-tomcat-7.0.42 jdk1.8.0_77 CentOS Linux 7.2.1511 >> urlrewritefilter-4.0.3.jar >> >> I'm using the

Re: Any experience with Tuckey UrlRewrite servlet filter?

2016-04-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lyallex, On 4/28/16 1:12 PM, Lyallex wrote: > apache-tomcat-7.0.42 jdk1.8.0_77 CentOS Linux 7.2.1511 > urlrewritefilter-4.0.3.jar > > I'm using the rewrite filter from http://tuckey.org/urlrewrite/ > > I have a rule, it's supposed to 301

Re: Any experience with Tuckey UrlRewrite servlet filter?

2016-04-28 Thread jieryn
You can get the same effect using standard web.xml fragment and without a 3rd party dependency: /* CONFIDENTIAL On Thu, Apr 28, 2016 at 1:12 PM, Lyallex wrote: > apache-tomcat-7.0.42 > jdk1.8.0_77 > CentOS Linux 7.2.1511 >

Any experience with Tuckey UrlRewrite servlet filter?

2016-04-28 Thread Lyallex
apache-tomcat-7.0.42 jdk1.8.0_77 CentOS Linux 7.2.1511 urlrewritefilter-4.0.3.jar I'm using the rewrite filter from http://tuckey.org/urlrewrite/ I have a rule, it's supposed to 301 perm-redirect from http to https seo redirect ^www.example.com ^localhost ^/(.*)