Re: URL Rewriting

2012-06-15 Thread Kiran Badi
Andre, I am a big fan of yours with the way you explain the things in neat way.Being a moderator/owner of some of large lists of my profession for close to 8 years now I rarely had this kind of patience to write so much and so neat. BTW For the time being, I would prefer to keep this thread on

Re: URL Rewriting

2012-06-15 Thread Kiran Badi
Why are you so eager to remove the ids from the URL? Thanks Chris for reply,It was looking ugly thats the reason.Anyways, now that I have fixed most of gaps, I think I should be fine with this. - To unsubscribe, e-mail: users

Re: Modify HTTP status returned by stopped context

2012-06-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kyle, On 6/15/12 12:30 PM, kharp...@oreillyauto.com wrote: > I attempted to do what you prescribed but I am running into a snag > and can't figure out what I've done incorrectly. > > I have a context, we'll call it /foo > > In my ROOT web applicatio

Re: IP-based virtual hosting with useIPVHosts=true always goes to default host

2012-06-15 Thread Mark Eggers
Comments are embedded below with: Comment some stuff Comment   - Original Message - > From: Assaf Urieli > To: Tomcat Users List > Cc: > Sent: Friday, June 15, 2012 3:33 AM > Subject: Re: IP-based virtual hosting with useIPVHosts=true always goes to > default host

Re: Modify HTTP status returned by stopped context

2012-06-15 Thread kharper2
Mark, I attempted to do what you prescribed but I am running into a snag and can't figure out what I've done incorrectly. I have a context, we'll call it /foo In my ROOT web application (/) I created a servlet with a mapping of /foo/* like so: foo-404-change org.apache.catalina.servlets.Defa

Re: Intercepting and modifying response

2012-06-15 Thread André Warnier
Oooops. Wrong list, sorry. André Warnier wrote: Rommel Sharma wrote: All, I need to intercept and modify the response that is coming from JBOSS to the Apache Web (httpd) server and being returned to the client. What is the connector module used between Apache httpd and JBOSS ? How is it

Re: Intercepting and modifying response

2012-06-15 Thread André Warnier
Rommel Sharma wrote: All, I need to intercept and modify the response that is coming from JBOSS to the Apache Web (httpd) server and being returned to the client. What is the connector module used between Apache httpd and JBOSS ? How is it configured ? (more explicitly, how in the Apache ht

Re: Accessing Tomcat Thread Pool

2012-06-15 Thread Pid
On 15/06/2012 01:05, Oguz Kologlu wrote: > > On 15/06/2012, at 4:35 AM, Christopher Schultz wrote: > > Oguz, > > On 6/14/12 6:24 AM, Oguz Kologlu wrote: I've seen this question bounce around some threads but there's really no good answer. I'd like to use the Tomcat 7 thread p

Re: Decompression of gzip'd request body

2012-06-15 Thread Pid
On 15/06/2012 12:58, JF wrote: > Tomcat v7.0.6, Windows Server 2008 SP2 Also, probably a good idea to upgrade that Tomcat sometime this decade. p > I note that tomcat's connector's can be configured to automatically > handle compression of 'large' respones using gzip. > Tomcat can also be depl

Re: Decompression of gzip'd request body

2012-06-15 Thread Mark Thomas
On 15/06/2012 12:58, JF wrote: > There used to be a GzipInputFilter; No there didn't. No such filter has ever been part of the Tomcat code base. When the GzipOutputFilter was written, some place-holders were added for the input filter but it was never implemented. > Is there a recommended way usi

Decompression of gzip'd request body

2012-06-15 Thread JF
Tomcat v7.0.6, Windows Server 2008 SP2 I note that tomcat's connector's can be configured to automatically handle compression of 'large' respones using gzip. Tomcat can also be deployed behind Apache so that it can unzip/deflate requests. There used to be a GzipInputFilter; http://marc.info/?

Re: IP-based virtual hosting with useIPVHosts=true always goes to default host

2012-06-15 Thread André Warnier
Assaf Urieli wrote: ... My /etc/hosts file: 178.79.152.69www.joli-ciel.com bilbo.joli-ciel.com bilbo.aplikaterm.com www.aplikaterm.com joli-ciel.com bilbo Just following this thread and learning, but note that an Internet reverse-DNS looku

Re: IP-based virtual hosting with useIPVHosts=true always goes to default host

2012-06-15 Thread Assaf Urieli
Hi Chris, > > On 6/8/12 11:12 AM, Assaf Urieli wrote: > > Ok, this is strange. I created a test.jsp page that prints > > request.getLocalName(), request.getServerName(), and > > request.getLocalAddr(). I tried various scenarios in the browser: > > http://domain1.com, http://www.domain1.com, http:/

Re: Tomcat 5.5.34 - SSL offload to Tomcat strange behaviour with extra trailing slash required

2012-06-15 Thread Mark Thomas
On 15/06/2012 07:17, Perry, Andrew wrote: > As such, would any of you have any insights as to why this strange > behaviour might be occurring? I would suspect a configuration problem in the reverse proxy. > Could it be a problem with the Apache implementation of HTTP 1.1? Possible, but unlikely