tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Gomez <hgo...@apache.org>
Subject Re: Time for JkMountExclude in jk 1.2.x ?
Date Tue, 20 Jul 2004 15:55:06 GMT
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: tomcat-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> ----------------------------------------------------------------------
> Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
> MOREnet System Programming               |  * if iz ina coment.      |
> Missouri Research and Education Network  |  */                       |
> ----------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message