Re: problem gzipping dynamic content with apache+jk+tomcat configuration

2008-06-16 Thread Kirti Teja
 AddOutputFilter DEFLATE html txt xml css js jsp do

did the trick.

Thankyou very much. Your help is just great thanks once again.

With Regards,
Teja R




On Mon, Jun 16, 2008 at 9:18 PM, Rainer Jung [EMAIL PROTECTED]
wrote:

 Kirti Teja wrote:

 Hi,


 I use apache 2, tomcat 6.0.13 with modjk2.  When I added

  AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
 application/x-javascript text/javascript text/x-js

  in my httpd conf file, I see only static resources which are served by
 apache getting gzipped.

 Dynamic response (text/html)  which are served by tomcat through AJP
 connector are not zipped.

 I tried googling and found that there are more people who have this
 problem
 but with no answers.


 Can any one help me on this?


 Not before you are telling us your version of httpd and mod_jk ;)

 It works for me with httpd 2.2.8 and mod_jk 1.2.26. I also added

AddOutputFilter DEFLATE html txt xml css js jsp do

 in addition to the AddOutputFilterByType.

 If you use Firefox as a browser and install Firebug. What does it show you
 as Content-Type and Content-Encoding of the response? What does it show as
 Accept-Encoding for the request?

  With Regards,

 teja


 Regards,

 Rainer

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Fwd: problem gzipping dynamic content with apache+jk+tomcat configuration

2008-06-16 Thread Kirti Teja
   AddOutputFilter DEFLATE html txt xml css js jsp do

adding this in httpd.conf did the trick. now i see even my dynamic reponses
gzipped.

thanks,
teja
-- Forwarded message --
From: Rainer Jung [EMAIL PROTECTED]
Date: Mon, Jun 16, 2008 at 9:18 PM
Subject: Re: problem gzipping dynamic content with apache+jk+tomcat
configuration
To: Tomcat Users List users@tomcat.apache.org


Kirti Teja wrote:

 Hi,


 I use apache 2, tomcat 6.0.13 with modjk2.  When I added

  AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
 application/x-javascript text/javascript text/x-js

  in my httpd conf file, I see only static resources which are served by
 apache getting gzipped.

 Dynamic response (text/html)  which are served by tomcat through AJP
 connector are not zipped.

 I tried googling and found that there are more people who have this problem
 but with no answers.


 Can any one help me on this?


Not before you are telling us your version of httpd and mod_jk ;)

It works for me with httpd 2.2.8 and mod_jk 1.2.26. I also added

   AddOutputFilter DEFLATE html txt xml css js jsp do

in addition to the AddOutputFilterByType.

If you use Firefox as a browser and install Firebug. What does it show you
as Content-Type and Content-Encoding of the response? What does it show as
Accept-Encoding for the request?

 With Regards,

 teja


Regards,

Rainer

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]