Re: Time for JkMountExclude in jk 1.2.x ?

2004-07-20 Thread Glenn Nielsen
Have you looked at using JkAutoAlias ?

On Tue, Jul 13, 2004 at 12:27:41PM +0200, Henri Gomez wrote:
 Hi to all,
 
 As many I'm puzzled in jk 1.2.x in some case :
 
 VirtualHost *:80
ServerName test101.mysys
DocumentRoot /www/sys101/htdocs
JkMount /* test-101
 /VirtualHost
 
 VirtualHost *:80
ServerName test102.mysys
DocumentRoot /www/sys102/htdocs
JkMount /* test-102
 /VirtualHost
 
 No imagine I want to have /home in test102.mysys mapped
 no more to tomcat but to local directory.
 
 VirtualHost *:80
ServerName test102.mysys
DocumentRoot /www/sys102/htdocs
JkMount /* test-102
 
Alias /home/ /www/sys102/home/
 
 
Directory /www/sys102/home
 Options Indexes MultiViews
 AllowOverride None
 Order allow,deny
 Allow from all
/Directory
 
 /VirtualHost
 
 There is no way to get http://test102.mysys/home goes to 
 /www/sys102/home local directory.
 
 What about adding support for JkMountExclude :
 
 VirtualHost *:80
ServerName test102.mysys
DocumentRoot /www/sys102/htdocs
JkMount /* test-102
JkMountExclude /home/*
 
Alias /home/ /www/sys102/home/
 
 
Directory /www/sys102/home
 Options Indexes MultiViews
 AllowOverride None
 Order allow,deny
 Allow from all
/Directory
 
 /VirtualHost
 
 
 These will prevent JkMount to forward /home/* to tomcat worker
 test-102.
 
 Thanks to comments.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
--
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder|
MOREnet System Programming   |  * if iz ina coment.  |
Missouri Research and Education Network  |  */   |
--

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



Re: Time for JkMountExclude in jk 1.2.x ?

2004-07-20 Thread Henri Gomez
Glenn Nielsen wrote:
Have you looked at using JkAutoAlias ?
What do you means ?
JkAutoAlias automatically detected Alias/Directory and excluded
them from JkMount * ?
On Tue, Jul 13, 2004 at 12:27:41PM +0200, Henri Gomez wrote:
Hi to all,
As many I'm puzzled in jk 1.2.x in some case :
VirtualHost *:80
  ServerName test101.mysys
  DocumentRoot /www/sys101/htdocs
  JkMount /* test-101
/VirtualHost
VirtualHost *:80
  ServerName test102.mysys
  DocumentRoot /www/sys102/htdocs
  JkMount /* test-102
/VirtualHost
No imagine I want to have /home in test102.mysys mapped
no more to tomcat but to local directory.
VirtualHost *:80
  ServerName test102.mysys
  DocumentRoot /www/sys102/htdocs
  JkMount /* test-102
  Alias /home/ /www/sys102/home/
  Directory /www/sys102/home
   Options Indexes MultiViews
   AllowOverride None
   Order allow,deny
   Allow from all
  /Directory
/VirtualHost
There is no way to get http://test102.mysys/home goes to 
/www/sys102/home local directory.

What about adding support for JkMountExclude :
VirtualHost *:80
  ServerName test102.mysys
  DocumentRoot /www/sys102/htdocs
  JkMount /* test-102
  JkMountExclude /home/*
  Alias /home/ /www/sys102/home/
  Directory /www/sys102/home
   Options Indexes MultiViews
   AllowOverride None
   Order allow,deny
   Allow from all
  /Directory
/VirtualHost
These will prevent JkMount to forward /home/* to tomcat worker
test-102.
Thanks to comments.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder|
MOREnet System Programming   |  * if iz ina coment.  |
Missouri Research and Education Network  |  */   |
--
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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


Re: Time for JkMountExclude in jk 1.2.x ?

2004-07-14 Thread Henri Gomez
David Rees wrote:
Henri Gomez wrote, On 7/13/2004 3:27 AM:
What about adding support for JkMountExclude :

I would suggest leaving it for the next release of mod_jk, unless it is 
simple and there is little chance of it adding any regressions.

-Dave
I'm puzzled with JkMount when I have to exclude some URL.
I won't do anything before release, if everybody agreed on a
quick 1.2.6 release.
But works should be conducted to add exclusions, may be also via
Notes
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Time for JkMountExclude in jk 1.2.x ?

2004-07-14 Thread Rainer Jung
As I started the discussion thread on releasing mod_jk 1.2.6 a few days 
ago, I would also prefer to have the stable code released and not adding 
new features. Releasing 1.2.6 as-is would already be benefitial to many 
people.

Henri: thank you very much for preparing the release.
For post-1.2.6 releases: JkMount only gives the ability to seperate 
between Apache and Tomcat on the basis of: default handled by Apache and 
special things handled by Tomcat.

Now often the situation is reversed: complete contexts (detected by 
URL-prefixes) should be handled by default by the web container, and 
only special static objects (subdirectorie or, file name suffixes) by 
apache. So JkMountExclude would make a lot of sense.

Henri Gomez wrote:
David Rees wrote:
I would suggest leaving it for the next release of mod_jk, unless it 
is simple and there is little chance of it adding any regressions.

-Dave
I'm puzzled with JkMount when I have to exclude some URL.
I won't do anything before release, if everybody agreed on a
quick 1.2.6 release.
But works should be conducted to add exclusions, may be also via
Notes

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


Re: Time for JkMountExclude in jk 1.2.x ?

2004-07-14 Thread Henri Gomez
Rainer Jung wrote:
As I started the discussion thread on releasing mod_jk 1.2.6 a few days 
ago, I would also prefer to have the stable code released and not adding 
new features. Releasing 1.2.6 as-is would already be benefitial to many 
people.

Henri: thank you very much for preparing the release.
For post-1.2.6 releases: JkMount only gives the ability to seperate 
between Apache and Tomcat on the basis of: default handled by Apache and 
special things handled by Tomcat.

Now often the situation is reversed: complete contexts (detected by 
URL-prefixes) should be handled by default by the web container, and 
only special static objects (subdirectorie or, file name suffixes) by 
apache. So JkMountExclude would make a lot of sense.
Ok just commited something for Apache 2.0 and which should be safe.
Using the env var no-jk (à la mode_deflate mod_gzip), for instance
in a SetEnvIf directive, you could exclude some URL from being served
by JK...
Tested on my developpment system and everything seems to works correctly.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Time for JkMountExclude in jk 1.2.x ?

2004-07-13 Thread Henri Gomez
Hi to all,
As many I'm puzzled in jk 1.2.x in some case :
VirtualHost *:80
   ServerName test101.mysys
   DocumentRoot /www/sys101/htdocs
   JkMount /* test-101
/VirtualHost
VirtualHost *:80
   ServerName test102.mysys
   DocumentRoot /www/sys102/htdocs
   JkMount /* test-102
/VirtualHost
No imagine I want to have /home in test102.mysys mapped
no more to tomcat but to local directory.
VirtualHost *:80
   ServerName test102.mysys
   DocumentRoot /www/sys102/htdocs
   JkMount /* test-102
   Alias /home/ /www/sys102/home/
   Directory /www/sys102/home
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
   /Directory
/VirtualHost
There is no way to get http://test102.mysys/home goes to 
/www/sys102/home local directory.

What about adding support for JkMountExclude :
VirtualHost *:80
   ServerName test102.mysys
   DocumentRoot /www/sys102/htdocs
   JkMount /* test-102
   JkMountExclude /home/*
   Alias /home/ /www/sys102/home/
   Directory /www/sys102/home
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
   /Directory
/VirtualHost
These will prevent JkMount to forward /home/* to tomcat worker
test-102.
Thanks to comments.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Time for JkMountExclude in jk 1.2.x ?

2004-07-13 Thread David Rees
Henri Gomez wrote, On 7/13/2004 3:27 AM:
What about adding support for JkMountExclude :
I would suggest leaving it for the next release of mod_jk, unless it is 
simple and there is little chance of it adding any regressions.

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