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://sit

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 allow,deny >> Allow from all >> > > Try rep

RE: JkMount for status working not getting triggered

2009-10-15 Thread Neil Aggarwal
Chris: That worked. Thanks for the help, Neil -- Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com Will your e-commerce site go offline if you have a DB server failure, fiber cut, flood, fire, or other disaster? If so, ask about our geographically redundant database system. > Try

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 > Try replacing the above w

Re: JkMount a different location

2009-03-02 Thread Andres Riancho
Rainer, On Mon, Mar 2, 2009 at 12:29 PM, Rainer Jung wrote: > On 02.03.2009 03:21, Andres Riancho wrote: >> >> List, >> >>     I've search the Tomcat FAQ, but I haven't been able to find any >> answers, so... here is my question... I have a JSP application >> deployed in Tomcat inside the "/abc/"

Re: JkMount a different location

2009-03-02 Thread Rainer Jung
On 02.03.2009 03:21, Andres Riancho wrote: List, I've search the Tomcat FAQ, but I haven't been able to find any answers, so... here is my question... I have a JSP application deployed in Tomcat inside the "/abc/" directory; and I want to be able to access it from *two different locations*

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 us

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 elements in server.xml

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

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
Am Montag, 29. Oktober 2007 23:33:16 schrieb Christopher Schultz: > Dale, > > BuildSmart wrote: > >> As for only working on localhost, you need to check the rest of your > >> Apache httpd and Tomcat configurations: you probably don't have the > >> right virtual host config on either httpd or Tomcat

Re: jkMount

2007-10-29 Thread BuildSmart
On Oct 29, 2007, at 18:33:16, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dale, BuildSmart wrote: As for only working on localhost, you need to check the rest of your Apache httpd and Tomcat configurations: you probably don't have the right virtual host config on

Re: jkMount

2007-10-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dale, BuildSmart wrote: >> As for only working on localhost, you need to check the rest of your >> Apache httpd and Tomcat configurations: you probably don't have the >> right virtual host config on either httpd or Tomcat or both. My guess is >> "both

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 making any friend

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 your tone right now befo

Re: jkMount

2007-10-28 Thread BuildSmart
On Oct 28, 2007, at 10:47:19, Rainer Jung wrote: Comments inline BuildSmart wrote: On Oct 28, 2007, at 08:32:50, Rainer Jung wrote: Hi, BuildSmart wrote: I'm trying to get around a configuration issue. My webapp builds dynamic script content but the generated scripts are not accessible.

Re: jkMount

2007-10-28 Thread Rainer Jung
Comments inline BuildSmart wrote: On Oct 28, 2007, at 08:32:50, Rainer Jung wrote: Hi, BuildSmart wrote: I'm trying to get around a configuration issue. My webapp builds dynamic script content but the generated scripts are not accessible. For example, calling http://domain.tld/index.jsp?i

Re: jkMount

2007-10-28 Thread BuildSmart
On Oct 28, 2007, at 08:32:50, Rainer Jung wrote: Hi, BuildSmart wrote: I'm trying to get around a configuration issue. My webapp builds dynamic script content but the generated scripts are not accessible. For example, calling http://domain.tld/index.jsp? ip=192.168.0.10&count=10&key=robot"

Re: jkMount

2007-10-28 Thread Rainer Jung
Hi, BuildSmart wrote: I'm trying to get around a configuration issue. My webapp builds dynamic script content but the generated scripts are not accessible. For example, calling http://domain.tld/index.jsp?ip=192.168.0.10&count=10&key=robot"; should generate some subdirectories and builds s

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
on(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Evan J " <[EMAIL P

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
Ok, that's what I had expected, http://vh.host.com/someuri/eservlets/myservlet, but in reality, such URL would produce HTTP 400 which has been puzzling me and I had assumed I had some misunderstanding of something. But the weird thing is http://vh.host.com/myapp/eservlets/myservlet works flawlessl

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 > aware of that. Now if we se

Re: JkMount and Context path

2006-08-20 Thread Evan J
telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Evan J " <[EMAIL PROTECTED]> To: "Tomcat Users List" ; "Martin Gainty" <[EMAIL PROTECTED]> Sent: Sunday, August 20, 2006 1:15 PM Su

Re: JkMount and Context path

2006-08-20 Thread Martin Gainty
gt; To: "Tomcat Users List" ; "Martin Gainty" <[EMAIL PROTECTED]> Sent: Sunday, August 20, 2006 1:15 PM Subject: Re: JkMount and Context path > Martin, > > I have the documents and I'm aware the difinition of Context path and > from what you have p

Re: JkMount and Context path

2006-08-20 Thread Evan J
one or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Evan J " <[EMAIL PROTECTED]> To: "Tomcat Users List" ; "Martin Gainty" <[EMAIL PROTECTED]> Sent: Sunday, August 20, 2006 1:01 AM Subject: Re:

Re: JkMount and Context path

2006-08-20 Thread Martin Gainty
or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Evan J " <[EMAIL PROTECTED]> To: "Tomcat Users List" ; "Martin Gainty" <[EMAIL PROTECTED]> Sent: Sunday, August 20, 2006 1:01 AM Subject: Re: J

Re: JkMount and Context path

2006-08-19 Thread Evan J
Ok, your answer just recaps everything that is needed to run Apache-jk_mod-Tomcat but does not answer my question. What if in your setting, you have set Context path, what would be the consequences? How are the servlets then are accessed? Is it required to include Context path in the uri ending to

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

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

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
Toshio [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 8:28 PM To: Tomcat Users List Subject: RE: JkMount Hi Nehal, See the following comment; Regards, Toshio > Hi, > > I tried as follows > > My workers.properties : > > workers.java_home=/usr/j2se > ps=/ > wo

RE: JkMount

2005-10-31 Thread SUGAHARA Toshio
age- > From: SUGAHARA Toshio [mailto:[EMAIL PROTECTED] > Sent: Monday, October 31, 2005 5:11 PM > To: Tomcat Users List > Subject: Re: JkMount > > > Hi Nehal, > > I think you had better use Tomcat load-balancing > function > when you use different worker. >

RE: JkMount

2005-10-31 Thread Nehal Sangoi
not loading the URL nw. Also, my test3 worker is not loadbalancing test2 worker. Please help. Regds, Nehal -Original Message- From: SUGAHARA Toshio [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 5:11 PM To: Tomcat Users List Subject: Re: JkMount Hi Nehal, I think you

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 > specified? > > e.g.