Re: Tomcat connector settings

2016-04-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 4/29/16 4:25 PM, Michael Fox wrote: > I have an Apache web server(2.4.6) which is accessible at http or > https at DNS_hostname, and a Tomcat server (9.0.0.M1)with an > application available at DNS_hostname:8080/app_name. > > I then

Tomcat 8.5 NullPointerException on getSubmittedFileName() with HTTP/2

2016-04-29 Thread Thad Humphries
I have lifted from the GlassFish tutorial a simple file upload servlet example. When I run this with Tomcat 8.5 and HTTPS (Http11NioProtocol), it works fine, uploading a file to the /tmp directory: ... protected void processRequest(HttpServletRequest request, HttpServletResponse response)

Tomcat connector settings

2016-04-29 Thread Michael Fox
I have an Apache web server(2.4.6) which is accessible at http or https at DNS_hostname, and a Tomcat server (9.0.0.M1)with an application available at DNS_hostname:8080/app_name. I then disabled the non-SSL HTTP/1.1 connector on port 8080 and enabled HTTP/2 in the Tomcat server.xml, using the

Re: Character set for accept-charset and accept-content-type HTTP headers?

2016-04-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 4/29/16 3:15 PM, Mark Thomas wrote: > On 29/04/2016 19:44, Christopher Schultz wrote: >> All, >> >> I've been doing a bit of searching and I just think I haven't >> found the right path at this point. There are only about 4000 >>

Re: Character set for accept-charset and accept-content-type HTTP headers?

2016-04-29 Thread Mark Thomas
On 29/04/2016 19:44, Christopher Schultz wrote: > All, > > I've been doing a bit of searching and I just think I haven't found the > right path at this point. There are only about 4000 specifications that > all overlap and refer to each other, here. > > I'm looking for a reference that proves my

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

Character set for accept-charset and accept-content-type HTTP headers?

2016-04-29 Thread Christopher Schultz
All, I've been doing a bit of searching and I just think I haven't found the right path at this point. There are only about 4000 specifications that all overlap and refer to each other, here. I'm looking for a reference that proves my expectation that the values of the "accept-charset" and

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.