RE: Please help with jk2/tomcat5

2004-08-27 Thread Cox, Charlie
LocationMatch ^/(?!private)
JkUriSet ...
/LocationMatch


this also works for multiple directories:
LocationMatch ^/(?!private|private2|private3)

Charlie

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 26, 2004 8:41 PM
 To: [EMAIL PROTECTED]
 Subject: Please help with jk2/tomcat5
 
 Hello list members,
 
 Running Linux Fedora core2, apache2, tomcat5, jk2
 
 
 In my workers2.properties file, I have the following lines:
 
 [channel.socket:tomcat_server:8033]
 host=hostation.com
 port=8033
 debug=0
 
 [ajp13:tomcat_server:8033]
 channel=channel.socket:tomcat_server:8033
 debug=0
 
 [uri:hostation.com/*]
 worker=ajp13:tomcat_server:8033
 debug=0
 
 [uri:www.hostation.com/*]
 worker=ajp13:tomcat_server:8033
 debug=0
 
 
 That works as expected.  It allowed me to delegate ALL requests to tomcat.
 However, now I want to be able to exempt a certain URI such as:
 
 http://hostation.com/private  so that it is not being handled by tomcat
but
 by apache instead.
 
 Is it possible ?  Please show me how and I will be hugely greatful!!!
 
 Thanks.
 Lu
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


RE: Please help with jk2/tomcat5

2004-08-27 Thread webmaster
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Thursday, August 26, 2004 8:41 PM
  To: [EMAIL PROTECTED]
  Subject: Please help with jk2/tomcat5
  
  Hello list members,
  
  Running Linux Fedora core2, apache2, tomcat5, jk2
  
  
  In my workers2.properties file, I have the following lines:
  
  [channel.socket:tomcat_server:8033]
  host=hostation.com
  port=8033
  debug=0
  
  [ajp13:tomcat_server:8033]
  channel=channel.socket:tomcat_server:8033
  debug=0
  
  [uri:hostation.com/*]
  worker=ajp13:tomcat_server:8033
  debug=0
  
  [uri:www.hostation.com/*]
  worker=ajp13:tomcat_server:8033
  debug=0
  
  
  That works as expected.  It allowed me to delegate ALL 
 requests to tomcat.
  However, now I want to be able to exempt a certain URI such as:
  
  http://hostation.com/private  so that it is not being handled by 
  tomcat
 but
  by apache instead.
  
  Is it possible ?  Please show me how and I will be hugely 
 greatful!!!
  
  Thanks.
  Lu 

 -Original Message-
 From: Cox, Charlie [mailto:[EMAIL PROTECTED] 
 Sent: Friday, August 27, 2004 6:17 AM
 To: 'Tomcat Users List'
 Subject: RE: Please help with jk2/tomcat5
 
 LocationMatch ^/(?!private)
   JkUriSet ...
 /LocationMatch
 
 
 this also works for multiple directories:
 LocationMatch ^/(?!private|private2|private3)
 
 Charlie
 

Thanks for the help.
I am trying to use your suggestion although it seems tricky.
Whatever I have now in workers2.properties appear not to work 
when I use JkUriSet.
There must be a way to combine them and I haven't figured it 
out yet.

Lu 


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



RE: Please help with jk2/tomcat5

2004-08-27 Thread Cox, Charlie
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Friday, August 27, 2004 12:32 PM
 To: 'Tomcat Users List'
 Subject: RE: Please help with jk2/tomcat5
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
   Sent: Thursday, August 26, 2004 8:41 PM
   To: [EMAIL PROTECTED]
   Subject: Please help with jk2/tomcat5
  
   Hello list members,
  
   Running Linux Fedora core2, apache2, tomcat5, jk2
  
  
   In my workers2.properties file, I have the following lines:
  
   [channel.socket:tomcat_server:8033]
   host=hostation.com
   port=8033
   debug=0
  
   [ajp13:tomcat_server:8033]
   channel=channel.socket:tomcat_server:8033
   debug=0
  
   [uri:hostation.com/*]
   worker=ajp13:tomcat_server:8033
   debug=0
  
   [uri:www.hostation.com/*]
   worker=ajp13:tomcat_server:8033
   debug=0
  
  
   That works as expected.  It allowed me to delegate ALL
  requests to tomcat.
   However, now I want to be able to exempt a certain URI such as:
  
   http://hostation.com/private  so that it is not being handled by
   tomcat
  but
   by apache instead.
  
   Is it possible ?  Please show me how and I will be hugely
  greatful!!!
  
   Thanks.
   Lu
 
  -Original Message-
  From: Cox, Charlie [mailto:[EMAIL PROTECTED]
  Sent: Friday, August 27, 2004 6:17 AM
  To: 'Tomcat Users List'
  Subject: RE: Please help with jk2/tomcat5
 
  LocationMatch ^/(?!private)
  JkUriSet ...
  /LocationMatch
 
 
  this also works for multiple directories:
  LocationMatch ^/(?!private|private2|private3)
 
  Charlie
 
 
 Thanks for the help.
 I am trying to use your suggestion although it seems tricky.
 Whatever I have now in workers2.properties appear not to work
 when I use JkUriSet.
 There must be a way to combine them and I haven't figured it
 out yet.
 
 Lu
 

I don't know. I only use JkUriSet and moved the [uri:] mappings to
httd.conf. This helped me visualize the mappings with the virtual host
settings.

I don't understand what you need to overlap if you want all except a
directory to go to tomcat. If you mean mapping both hostation.com and
www.hostation.com, you can control that in your VirtualHost settings.

Charlie