Re: JkMount and Apache Rewrite

2010-05-17 Thread Rainer Jung
On 26.04.2010 13:56, Philip Hunt (Straker Software) wrote: Hi, I have the following config, to pass requests through Apache to Tomcat using AJP: RewriteEngine on RewriteRule ^/abc - [L,PT] RewriteRule (.*) /abc$1 [L,PT] JkMount /abc/* node1 This works, to the point that requests to http

JkMount and Apache Rewrite

2010-04-26 Thread Philip Hunt (Straker Software)
Hi, I have the following config, to pass requests through Apache to Tomcat using AJP: RewriteEngine on RewriteRule ^/abc - [L,PT] RewriteRule (.*) /abc$1 [L,PT] JkMount /abc/* node1 This works, to the point that requests to http://sitename/ are rewritten to http://sitename/abc ... and the

Re: JkMount for status working not getting triggered

2009-10-16 Thread Rainer Jung
On 15.10.2009 17:39, Christopher Schultz wrote: > Neil, > > On 10/14/2009 10:43 PM, Neil Aggarwal wrote: >> I then added this to my httpd.conf file in the global directives: > >> # Mount the jk status application >> >> JkMount jkstatus >> Order a

RE: JkMount for status working not getting triggered

2009-10-15 Thread Neil Aggarwal
Try replacing the above with: > JkMount /jkstatus jkstatus - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: JkMount for status working not getting triggered

2009-10-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, On 10/14/2009 10:43 PM, Neil Aggarwal wrote: > I then added this to my httpd.conf file in the global directives: > > # Mount the jk status application > > JkMount jkstatus > Order allow,deny > Allow from all >

JkMount for status working not getting triggered

2009-10-14 Thread Neil Aggarwal
worker.tomcat.socket_keepalive=True worker.tomcat.socket_timeout=60 worker.jkstatus.type=status worker.jkstatus.read_only=True I then added this to my httpd.conf file in the global directives: # Mount the jk status application JkMount jkstatus Order allow,deny Allow from all When I go to http://[myserver]/jkstatus I

Re: Combining Apache RewriteRule and JkMount to pass through to Tomcat

2009-06-27 Thread André Warnier
owing syntax under Apache, which is an alternative to the JkMount/JkUnmount directives : SetHandler jakarta-servlet SetEnvIf (some condition) no-jk ... Full description here : http://tomcat.apache.org/connectors-doc/reference/apache.html (at the very bottom of the page) You can use any Loc

RE: Combining Apache RewriteRule and JkMount to pass through to Tomcat

2009-06-26 Thread David Crane
David Crane wrote: ... > > I also have this mod_jk directive, which would act on either version of > the URL: > > JkMount /* worker1 > André Warnier wrote: > Considering the above directive, then why do you have, at all : > - an Apache httpd in front of your

Re: Combining Apache RewriteRule and JkMount to pass through to Tomcat

2009-06-26 Thread André Warnier
David Crane wrote: ... I also have this mod_jk directive, which would act on either version of the URL: JkMount /* worker1 Considering the above directive, then why do you have, at all : - an Apache httpd in front of your Tomcat ? Since you are attempting to pass everything to Tomcat

Combining Apache RewriteRule and JkMount to pass through to Tomcat

2009-06-26 Thread David Crane
hort /crate HTTP request arrives. I keep getting a 404 error instead. This is the mod_rewrite directive: RewriteRule /crate /donors/redeem_gift_certificate.html?partner=CRATEANDBARREL&utm_campaign =CBGC [NC,PT] I also have this mod_jk directive, which would act on either version of the URL:

Re: RewriteRule inside JkMount location

2009-04-11 Thread J Channel
> RewriteRule ^myapp/some(.*)  script.shtml%{QUERY_STRING} [L] > # Line above will be ignored > JkMount /myapp/* balancer > > May be this is just a bug? > So, i found that its work only if condition begins with / RewriteRule ^/myapp/some?(.*) /script.shtml?%{QUERY_STR

Re: RewriteRule inside JkMount location

2009-04-11 Thread J Channel
Hi, Rainer! Thx for you answer, its look like good solution, but anyway ignoring line BEFORE JkMount - a bit stupid behavior. RewriteRule ^myapp/some(.*) script.shtml%{QUERY_STRING} [L] # Line above will be ignored JkMount /myapp/* balancer May be this is just a bug

Re: RewriteRule inside JkMount location

2009-04-11 Thread Rainer Jung
ile in docroot, and just > put them in your main Apache configuration files. > (I suppose that if you have access to the DocumentRoot, you have access > to the server (or virtual server) *.conf, yes ?) > > Second, I personally find another syntax clearer than JkMount, specially > wh

Re: RewriteRule inside JkMount location

2009-04-11 Thread André Warnier
DocumentRoot, you have access to the server (or virtual server) *.conf, yes ?) Second, I personally find another syntax clearer than JkMount, specially when you need to combine it with other rules in Apache. The main reason is that indeed, it is not always very clear which kind of "pri

Re: RewriteRule inside JkMount location

2009-04-11 Thread J Channel
I found that its work ok with httpd.conf like this: ... JkMount /app/* balancer JkUnMount /app/ntd/* balancer ... But this is not very well cause i need to add many exception pathes like this to httpd.conf :( I just need to have mod_rewrite directives with more priority than JkMount. Just like in

Re: RewriteRule inside JkMount location

2009-04-10 Thread J Channel
2009/4/11 Rainer Jung : > On 10.04.2009 23:24, J Channel wrote: >> 2009/4/11 Rainer Jung >>> On 10.04.2009 21:41, J Channel wrote: >>>> Hi!Apache 2.2.11, mod_jk 1.2.28 >>>> >>>> httpd.conf: >>>> LoadModule jk_module modules/mod_jk.

Re: RewriteRule inside JkMount location

2009-04-10 Thread Rainer Jung
On 10.04.2009 23:24, J Channel wrote: > 2009/4/11 Rainer Jung >> On 10.04.2009 21:41, J Channel wrote: >>> Hi!Apache 2.2.11, mod_jk 1.2.28 >>> >>> httpd.conf: >>> LoadModule jk_module modules/mod_jk.so >>> JkOptions +ForwardURICompat >

Re: RewriteRule inside JkMount location

2009-04-10 Thread J Channel
2009/4/11 Rainer Jung > > On 10.04.2009 21:41, J Channel wrote: > > Hi!Apache 2.2.11, mod_jk 1.2.28 > > > > httpd.conf: > > LoadModule jk_module modules/mod_jk.so > > JkOptions   +ForwardURICompat > > JkMount /app/* balancer > > LoadModule rewrit

Re: RewriteRule inside JkMount location

2009-04-10 Thread Rainer Jung
On 10.04.2009 21:41, J Channel wrote: > Hi!Apache 2.2.11, mod_jk 1.2.28 > > httpd.conf: > LoadModule jk_module modules/mod_jk.so > JkOptions +ForwardURICompat > JkMount /app/* balancer > LoadModule rewrite_module modules/mod_rewrite.so > DocumentRoot /var/www/publi

RewriteRule inside JkMount location

2009-04-10 Thread J Channel
Hi!Apache 2.2.11, mod_jk 1.2.28 httpd.conf: LoadModule jk_module modules/mod_jk.so JkOptions +ForwardURICompat JkMount /app/* balancer LoadModule rewrite_module modules/mod_rewrite.so DocumentRoot /var/www/public_html .htaccess in docroot: RewriteEngine On RewriteCond %{QUERY_STRING} !dyn\=1

Re: JkMount a different location

2009-03-02 Thread Andres Riancho
tion >> deployed in Tomcat inside the "/abc/" directory; and I want to be able >> to access it from *two different locations* from Apache, for example, >> when I access: "http://apache/abc/"; and "http://apache/123/abc/";. The >> first J

Re: JkMount a different location

2009-03-02 Thread Rainer Jung
different locations* from Apache, for example, when I access: "http://apache/abc/"; and "http://apache/123/abc/";. The first JkMount is trivial: JkMount /abc ajp13_worker JkMount /abc/* ajp13_worker And is working as expected, but for the second... I do

JkMount a different location

2009-03-01 Thread Andres Riancho
ample, when I access: "http://apache/abc/"; and "http://apache/123/abc/";. The first JkMount is trivial: JkMount /abc ajp13_worker JkMount /abc/* ajp13_worker And is working as expected, but for the second... I don't have the slightest clue on how to do it

Re: concurrent JkMount entries? Order relevant?

2008-08-11 Thread Bill Barker
/router? > > Does this work in mod_jk.conf? > > JkMount /app/web/indexer worker42 > JkMount /app/web/indexer/* worker42 > > JkMount /app routerInt4 > JkMount /app/* routerInt4 > > > Do I have to write the special contextes first, so that only when they do > not match, t

Re: concurrent JkMount entries? Order relevant?

2008-08-11 Thread Christopher Schultz
rk in mod_jk.conf? | | JkMount /app/web/indexer worker42 | JkMount /app/web/indexer/* worker42 | | JkMount /app routerInt4 | JkMount /app/* routerInt4 This is pure speculation, but I would put your generic stuff first and then add more-specific rules afterward. This should be easy to test empiri

concurrent JkMount entries? Order relevant?

2008-08-11 Thread Stephanie Wullbieter
Hi, what to do when I want generally mount a context and it's subdirectories with mod_jk to one worker/router, but a special subdirectory of it to a different worker/router? Does this work in mod_jk.conf? JkMount /app/web/indexer worker42 JkMount /app/web/indexer/* worker42 JkMount

Re: JkMount Syntax for complete directory mounting

2008-05-06 Thread Mladen Turk
Stephanie Wullbieter wrote: if I want the whole apache directory tree /servlet/ and all the files and directories within to be routed to Tomcat worker1, what of the following is correct in mod_jk.conf? JkMount /servlet worker1 JkMount /servlet/* worker1 (both together) Both You can even

JkMount Syntax for complete directory mounting

2008-05-06 Thread Stephanie Wullbieter
Hello, if I want the whole apache directory tree /servlet/ and all the files and directories within to be routed to Tomcat worker1, what of the following is correct in mod_jk.conf? JkMount /servlet/ worker1 JkMount /servlet worker1 JkMount /servlet/* worker1 JkMount /servlet worker1

Re: strange forwarding problem with jkmount

2008-01-16 Thread Edwin Walsh
Hi, It was as I expected and a virtual server was 'eating' my requests. The JkMount was actually already set up in the global server, but by adding the line JkMountCopy All it got forwarded to all the virtualhosts as well. Since this is only a temporary problem for us, it will

Re: Forwarding with jkmount

2008-01-16 Thread Edwin Walsh
es you have set. Now I did turn out to work a little different. I did eventually change the name of the newer applications for reasons other then described in the problem. So the solution turned out to be a combination of a rewriterule, proxypassreverse and a jkmount. I did not have to change anyth

Re: strange forwarding problem with jkmount

2008-01-14 Thread Rainer Jung
Hi Edwin, Edwin Walsh wrote: Hi, I have the most peculiar problem (at least in my point of view) with forwarding with jkmount. JkMount has always worked on my server, but suddenly, without changing anything but the mod_jk settings (adding a new jkmount and some rewriterules), JkMount

strange forwarding problem with jkmount

2008-01-14 Thread Edwin Walsh
Hi, I have the most peculiar problem (at least in my point of view) with forwarding with jkmount. JkMount has always worked on my server, but suddenly, without changing anything but the mod_jk settings (adding a new jkmount and some rewriterules), JkMount suddenly only works if I connect to

Re: Forwarding with jkmount

2008-01-09 Thread Rainer Jung
Edwin Walsh wrote: Hi Rainer, I have been playing around with mod_rewrite, but as far as I can tell the rewrite is done before the jkmount. So I can get this wonderful url to be rewritten to the actual name of the web application, but since the old and the new versions have the same name it

Re: Forwarding with jkmount

2008-01-09 Thread Edwin Walsh
Hi Rainer, I have been playing around with mod_rewrite, but as far as I can tell the rewrite is done before the jkmount. So I can get this wonderful url to be rewritten to the actual name of the web application, but since the old and the new versions have the same name it will not work. For a

Re: Forwarding with jkmount

2008-01-09 Thread ben short
rongly > > hope it is the latter) > > In fact the solution to the problem is non-trivial :) > > > > The situation is the following: > > Currently we have several web applications running on a Tomcat 6 server. > > For the sake of this explanation I will cal

Re: Forwarding with jkmount

2008-01-09 Thread Rainer Jung
che set up to use jkmount to forward requests from the apache server to the tomcat server. The problem is that I can only get apache to forward things like www.esat.kuleuven.be/web1 and www.esat.kuleuven.be/web2. I would like to be able to forward things like www.esat.kuleuven.be//somefancynam

Forwarding with jkmount

2008-01-09 Thread Edwin Walsh
ngly hope it is the latter) The situation is the following: Currently we have several web applications running on a Tomcat 6 server. For the sake of this explanation I will call then web1 and web2. I have apache set up to use jkmount to forward requests from the apache server to the tomcat s

RE: JkMount changing webapp context

2007-12-11 Thread Caldarale, Charles R
> From: Carlo Montanari [mailto:[EMAIL PROTECTED] > Subject: JkMount changing webapp context > > In other words, when the users ask for > http://www.myapphost.tld/, they should see the > content of http://localhost:8009/myapp/ For a Tomcat-only solution, define as many elem

Re: JkMount changing webapp context

2007-12-11 Thread Pid
Carlo Montanari wrote: > I'm not sure whether this is the best mailing list for the question, > feel free to blame me if it isn't. > I have a simple configuration with apache 2.2.6, mod_jk 1.2.25 and > tomcat 6.0.14. > In tomcat I have a web application running, say /myapp, that I want to > publish

JkMount changing webapp context

2007-12-11 Thread Carlo Montanari
I'm not sure whether this is the best mailing list for the question, feel free to blame me if it isn't. I have a simple configuration with apache 2.2.6, mod_jk 1.2.25 and tomcat 6.0.14. In tomcat I have a web application running, say /myapp, that I want to publish in apache as the root applicati

Re: jkMount

2007-10-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dale, BuildSmart wrote: > You're shitting me, it can't be that simple, thank you, it works as > configured with my ajp13 worker. Yes, it's that simple. Usually the only problem with mod_jk setup is that people try to add too much complexity at once.

Re: jkMount

2007-10-29 Thread Ingo Krabbe
documentation, I won't > waste space in this post with the configuration. > > > I'm using the mod_jk module and not a bastardized version so if it's not > > working per your configuration directives then it's the guys who coded > > mod_jk who are fault and you shou

Re: jkMount

2007-10-29 Thread BuildSmart
it. I've never had a problem with mod_jk. No complaints required from my end. It's possible that mod_jk was written to support only virtual hosts, and not JkMount options at the top-level. I'd be surprised at this, but there's an easy workaround: use a global virtual h

Re: jkMount

2007-10-29 Thread Christopher Schultz
not > working per your configuration directives then it's the guys who coded > mod_jk who are fault and you should bitch to them about it. I've never had a problem with mod_jk. No complaints required from my end. It's possible that mod_jk was written to support only virtual hos

Re: jkMount

2007-10-29 Thread BuildSmart
On Oct 29, 2007, at 10:27:21, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BS, BuildSmart wrote: jkMount /* myworker <-- your example. It didn't work and only further proves that mod_jk lacks any real intelligence in functionality. You are not ma

Re: jkMount

2007-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 BS, BuildSmart wrote: > jkMount /* myworker <-- your example. > > It didn't work and only further proves that mod_jk lacks any real > intelligence in functionality. You are not making any friends on this list. I need to fix

Re: jkMount

2007-10-28 Thread BuildSmart
ount points for the subdirectories because I don't know what they are in advance, there doesn't seem to be a way to define access to Tomcat based on the file extension since it wont let you assign a mount point without a leading "/". JkMount /*.jsp myworker would be

Re: jkMount

2007-10-28 Thread Rainer Jung
#x27;t know what they are in advance, there doesn't seem to be a way to define access to Tomcat based on the file extension since it wont let you assign a mount point without a leading "/". JkMount /*.jsp myworker would be perfectly valid. You can combine prefixes and suffixes.

Re: jkMount

2007-10-28 Thread BuildSmart
sed on the file extension since it wont let you assign a mount point without a leading "/". JkMount /*.jsp myworker would be perfectly valid. You can combine prefixes and suffixes. If there are no rules at all (no known prefixes and no known suffixes) then your URL space is weird and yo

Re: jkMount

2007-10-28 Thread Rainer Jung
derstand, what you mean by "not accessible". I can't pre-define the mount points for the subdirectories because I don't know what they are in advance, there doesn't seem to be a way to define access to Tomcat based on the file extension since it wont let you assign a mou

jkMount

2007-10-28 Thread BuildSmart
g JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkMount /*.jsp ajp13 JkOptions +ForwardKeySize +ForwardURICompat ___ my workers.ajp13.properties contains: ___ ps=/

Re: Virtual Host hiding JkMount directives?

2006-11-16 Thread Chris Mayes
ut the logger is not correctly initialized for the virtual server. Could you please confirm, that the mappings you enter to the virtual servers work, and the problem is only the misleading log lines? Regards, Rainer Chris Mayes schrieb: Hi, all. I seem to be having a bit of trouble with virtual hosts a

Re: Virtual Host hiding JkMount directives?

2006-11-16 Thread Chris Mayes
m to be having a bit of trouble with virtual hosts and mod_jk. JkMount directives in a VirtualHost are ignored: ServerName censea.cmayes.org JkMount /* ajp13 ErrorLog /var/log/apache2/censea_error_log TransferLog /var/log/apache2/censea_access_log DocumentRoot /usr/local/www/ Dire

Re: Virtual Host hiding JkMount directives?

2006-11-16 Thread Rainer Jung
Mayes schrieb: > Hi, all. > > I seem to be having a bit of trouble with virtual hosts and mod_jk. > JkMount directives in a VirtualHost are ignored: > > > ServerName censea.cmayes.org > JkMount /* ajp13 > > ErrorLog /var/log/apache2/censea_error_log &

Virtual Host hiding JkMount directives?

2006-11-15 Thread Chris Mayes
Hi, all. I seem to be having a bit of trouble with virtual hosts and mod_jk. JkMount directives in a VirtualHost are ignored: ServerName censea.cmayes.org JkMount /* ajp13 ErrorLog /var/log/apache2/censea_error_log TransferLog /var/log/apache2/censea_access_log DocumentRoot /usr

Re: JkMount and Context path

2006-08-21 Thread Martin Gainty
y the original message without making a copy. Thank you. - Original Message - From: "Evan J " <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, August 21, 2006 9:28 AM Subject: Re: JkMount and Context path > Martin, > > Indeed, I had the

Re: JkMount and Context path

2006-08-21 Thread Evan J
Martin, Indeed, I had the same setting with the standalone Tomcat webserver and the configuration your mention would work properly as it expected. As I had mentioned in earlier posts to this thread, I do not have a reason to utilize a third party webserver. At this point I am just trying various

Re: JkMount and Context path

2006-08-21 Thread Martin Gainty
the case!!! #httpd.conf JkMount /*.jsp worker1 JkMount /*/servlet/ worker1 #http:///*.jsp routes to worker1 #http:///servlet routes to worker1 #BOTH get sent to the worker1 connector which is configured as #workers.properties worker.worker1.port=8009 worker.worker1.host=localhost worker.worker1

Re: JkMount and Context path

2006-08-21 Thread Evan J
Uhh! Ok, that's what I wanted to hear and it is evident that Context's path is being ignored but why HTTP 400? Anyway, I do not believe the "name" of context file has any bearing on the URI that must be specified. http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html says, "If a Context De

Re: JkMount and Context path

2006-08-20 Thread Mark Thomas
Evan J wrote: > conf/enginename/vh.host.com/myapp.xml: > >docBase="/myapp"...> Ahh. Light dawns. It wasn't clear (to me at least) that you were using a context.xml file. I had assumed you were specifying the context inside server.xml. Using the configuration above the path will be

Re: JkMount and Context path

2006-08-20 Thread Evan J
works flawlessly so that's why I was asking whether specifying JkMount would have any bearing on Context path which seems like it doesn't in this case. Again, my configration is as following: httpd.conf: ServerName vh.host.com DocumentRoot /path/to/www JkMount /* worker1 JkMount /*.jsp

Re: JkMount and Context path

2006-08-20 Thread Mark Thomas
Evan J wrote: > Yes, I understand that perfectly. What I am asking is what if we > include a web application Context path, that is path="someuri"...>. Of course, JkMount /*/eservlet/* would relay all > the request with mywebapp/eservlet/* from Apache to Tomcat -- I am >

Re: JkMount and Context path

2006-08-20 Thread Evan J
Yes, I understand that perfectly. What I am asking is what if we include a web application Context path, that is . Of course, JkMount /*/eservlet/* would relay all the request with mywebapp/eservlet/* from Apache to Tomcat -- I am aware of that. Now if we set , what is going to happen to our URI

Re: JkMount and Context path

2006-08-20 Thread Martin Gainty
Why are you mixing up Apache and Tomcat? If you are speaking of AJP 'context' term if you look at the doc you will see JkMount [URL prefix] [Worker name] /*where URL prefix is the context*/ JkMount /*/esrvlt/* worker1 Send all requests of whateverWebApp/eservlet/WhateverFileName to

Re: JkMount and Context path

2006-08-20 Thread Evan J
jk_mod in which JkMount is used for the requests to be processes by jk_mod and passed on to Tomcat? Allow me to restate my example, so you will be able to answer my question through the example itself. JkMount /*/esrvlt/* worker1 JkMount /*/esrvlt/*.jsp worker1 The web application is "my

Re: JkMount and Context path

2006-08-20 Thread Martin Gainty
JkAutoAlias maps all web application context directories into Apache document space..you DONT want to do this if you want to give Tomcat #control of the folder as in the example illustrated here JkAutoAlias /export/home/web/host2/webapps JkMount /*.jsp ajp13 JkMount /*/servlet/ ajp13

Re: JkMount and Context path

2006-08-19 Thread Evan J
]> wrote: /*httpd.conf JkMount maps all JSP (*.jsp) to ajp13 */ e.g. httpd.conf JkMount /*.jsp ajp13 /*map ajp13 to your webapp docRoot /var/tomcat4/webapps/domain1 ServerName domain1.com ServerAlias www.domain1.com DocumentRoot /var/tomcat4/webapps/domain1 JkMount /* ajp13 /*server.xml

Re: JkMount and Context path

2006-08-19 Thread Martin Gainty
/*httpd.conf JkMount maps all JSP (*.jsp) to ajp13 */ e.g. httpd.conf JkMount /*.jsp ajp13 /*map ajp13 to your webapp docRoot /var/tomcat4/webapps/domain1 ServerName domain1.com ServerAlias www.domain1.com DocumentRoot /var/tomcat4/webapps/domain1 JkMount /* ajp13 /*server.xml

JkMount and Context path

2006-08-19 Thread Evan J
I've a question regarding the way jk_mod relays requests to Tomcat servlets. If I have set my virtualhost to supposedly send requests with such JkMount directive URL prefix, /serve/* and /serve/*.jsp, then I take it, the only way for jk_mod relays requests for this virtualhost to Tomca

Re: JKMount with Tomcat and Access Restriction

2006-06-02 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

JKMount with Tomcat and Access Restriction

2006-05-31 Thread Peter Neu
Hello, I need to configure an ip filter for my tomcat/httpd server. Thus I need to tell the httpd server to deny access for users of certain ip ranges. I looked into the documentation of the connector but could not come up with a working method. Has anyone tried to do this before? Is there a way

RE: Apache, Tomcat, rewrite and jkmount

2006-05-09 Thread Jon Haugsand
> From: Jon Haugsand [mailto:[EMAIL PROTECTED] > A strange problem occured to me. This is a part of my > httpd.conf: > > > ServerName hamsun > RewriteEngine on > RewriteRule ^/victoria - [L,PT] > RewriteRule (.*) /victoria

Apache, Tomcat, rewrite and jkmount

2006-05-04 Thread Jon Haugsand
A strange problem occured to me. This is a part of my httpd.conf: ServerName hamsun RewriteEngine on RewriteRule ^/victoria - [L,PT] RewriteRule (.*) /victoria$1 [L,PT] JkMount/* hamsunworker It actually works in the sense that both the rewrite log

Re: Same jkmount, different server

2006-02-28 Thread Cedric Fontaine
Serlet Jean-Claude wrote: > Hello > > What's about the directive NameVirtualHost in your httpd.conf ? You're right. I forget about it and now it works, thanks ! Cedric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Same jkmount, different server

2006-02-28 Thread Serlet Jean-Claude
Hello What's about the directive NameVirtualHost in your httpd.conf ? Jean-Claude -Message d'origine- De : Cedric Fontaine [mailto:[EMAIL PROTECTED] Envoyé : mardi 28 février 2006 00:04 À : Tomcat Users List Objet : Same jkmount, different server Hello, I'm tr

Same jkmount, different server

2006-02-27 Thread Cedric Fontaine
t, it only keeps the first jkmount. If I put tomcatpreprod in first position, then all the traffic goes to this one. Apache/2.0.54 (Linux) mod_jk/1.2.15 Here is my httpd.conf : JkWorkersFile /virtual/apache/conf/workers.properties ServerName dev.mydomain.com DocumentRoot

apache + tomcat jkmount question

2005-12-19 Thread rusty+tomcat
Can I mount subdirectories with jkmount and have them be the top level directory on the tomcat side? For example, in my apache config file, if I have the following JkMount/labs/printing/*.jspajp13 In my tomcat/webapps/labs folder do I need to have the directory printing with the

RE: JkMount

2005-11-03 Thread Nehal Sangoi
Sangoi [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 5:49 PM To: 'Tomcat Users List' Subject: RE: JkMount Hi, I tried as follows My workers.properties : workers.java_home=/usr/j2se ps=/ worker.list=test1,test2,test3,test4 ## TEST1 CONNECTOR worker.test1.port= worker.

RE: JkMount

2005-11-02 Thread Nehal Sangoi
.lbfactor=1 ## TEST3 CONNECTOR worker.test3.type=lb worker.test3.sticky_session=1 worker.test3.balance_workers=test2 My httpd.conf : JkMount /example/* test1 JkMount /test/* test2 Apart from above configuration, i have jvmRoute of server.xml set to : for test1 == test1 for test2 == test2 Also, i

RE: JkMount

2005-10-31 Thread SUGAHARA Toshio
; worker.test2.type=ajp13 > worker.test2.lbfactor=1 > ## TEST3 CONNECTOR > worker.test3.port= > worker.test3.host=xxx.xxx.xxx.xxx You should remove the two lines above. > worker.test3.type=lb > worker.test3.sticky_session=1 > worker.test3.balance_workers=test2 > > My h

RE: JkMount

2005-10-31 Thread Nehal Sangoi
worker.test2.type=ajp13 worker.test2.lbfactor=1 ## TEST3 CONNECTOR worker.test3.port= worker.test3.host=xxx.xxx.xxx.xxx worker.test3.type=lb worker.test3.sticky_session=1 worker.test3.balance_workers=test2 My httpd.conf : JkMount /example/* test1 JkMount /test/* test2 But, my test2 itself is

Re: JkMount

2005-10-31 Thread SUGAHARA Toshio
Hi Nehal, I think you had better use Tomcat load-balancing function when you use different worker. See below document; http://tomcat.apache.org/connectors-doc/howto/workers.html Regards, Toshio > > How can i "JkMount" same URI twice in httpd.conf > with different worker &g

JkMount

2005-10-31 Thread Nehal Sangoi
How can i "JkMount" same URI twice in httpd.conf with different worker specified? e.g. i want to mount /example/* twice using different worker name. JkMount /example/* worker1 JkMount /example/* worker2 But this is not working. How should i configure to achieve my motto? Re