RE: [OT] Apache mod_jk HTTPS problem

2009-06-20 Thread attacus
- Hash: SHA1 Attacus, On 6/16/2009 4:04 PM, attacus wrote: > NameVirtualHost *:443 This ain't gonna work: SSL negotiation occurs /before/ the HTTP headers are sent, meaning that the VirtualHost has already been chosen before the "Server" header can be inspected. This will pr

RE: [OT] Apache mod_jk HTTPS problem

2009-06-16 Thread attacus
ta -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, June 16, 2009 7:07 PM To: Tomcat Users List Subject: Re: [OT] Apache mod_jk HTTPS problem -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Attacus, On 6/15/2009 4:42 PM, attacus wrote: > In

RE: Generated PDF download from Tomcat

2009-06-15 Thread attacus
response.setHeader("Pragma", "public"); response.setHeader("Cache-Control", "max-age=0"); response.setContentType("application/octet-stream"); response.setHeader("content-disposition", "attachment; filename=yourfile.pdf"); And don't use window.open(). Just use direct link. -Original Message--

Apache mod_jk HTTPS problem

2009-06-15 Thread attacus
Recently I registered the domain for my application IP. Now I use Apache and mod_jk as front end for JBoss 4.2.2. I can access my application in three ways: thorough localhost, IP and domain name. In case of HTTP all works fine but requests for HTTPS pages are successfully only if I use localhost o