Re: GZIP-encoding/mod_gzip and Tomcat??

2003-12-01 Thread Mike Baroukh

No need for it in the connector if you're using apache! :)  
You can get a mod_gzip module and do it from Apache which would 
probably be faster.

Are you sure ?
Has somebody already used mod_gzip with Apache  Tomcat ?

I use it with Resin, but it was not possible with tomcat because mod_jk
replied directly to the client (so I think ...).
There was many message on newsgroups about this.
We had to adapt the sample gzip filter provided with tomcat.


Mike Baroukh

Cardiweb  - 31 Rue de Mogador Paris IXeme
06 63 57 27 22 - 01 53 21 82 63 - ICQ: 105910677
http://www.cardiweb.com
--
Les ruines d'une maison
Se peuvent reparer : que n'est cet avantage
Pour les ruines du visage !
Jean de La Fontaine, La Fille
--


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



mod_jk in multiple site environnement

2003-11-18 Thread Mike Baroukh

Hi.

I am managing a server wich host many site.
Each have it's own jvm.
To make things simple, each site have a piece of httpd.conf wich is
included in the main httpd.conf.

To be able to add/remove easily sites, it would be useful to have the
possibility to specify multiple JkWorkersFile.


example :

* main httpd.conf

LoadModule jk_module libexec/mod_jk.so
NameVirtualHost *:80

Include /projects/site1/conf/httpd.conf
Include /projects/site2/conf/httpd.conf
...

* site 1 piece of httpd.conf :
/projects/site1/conf/httpd.conf
JkWorkersFile /projects/site1/conf/workers.properties
VirtualHost *:80
ServerName site1.mydomain.com
ServerAlias site1.mydomain.com
DocumentRoot /projects/site1/htmlroot/

JkMount /*.jsp /site1
/VirtualHost

* site 2 piece of httpd.conf :
/projects/site2/conf/httpd.conf
JkWorkersFile /projects/site2/conf/workers.properties
VirtualHost *:80
ServerName site2.mydomain.com
ServerAlias site2.mydomain.com
DocumentRoot /projects/site2/htmlroot/

JkMount /*.jsp /site2
/VirtualHost

Actually, I have to concatene all workers.properties files and place
JkWorkersFile directive in main httpd.conf. It's really not clean.

Idealy, 
- the JkWorkersFile would be in VirtualHost /
- We would not have to make JkMount because there is already a web.xml
that all URIs to be mapped.

Why couldn't mod_jk work as caucho's mod_caucho for Resin works ?


Am I at the right place to ask for this ?


Mike Baroukh

Cardiweb  - 31 Rue de Mogador Paris IXeme
06 63 57 27 22 - 01 53 21 82 63 - ICQ: 105910677
http://www.cardiweb.com
--
Le caractère d'un homme fait son destin. Démocrite
--


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]