RE: setup default webapp in tomcat 6 and apache

2009-01-16 Thread Caldarale, Charles R
> From: johnrock [mailto:johnpi...@yahoo.com] > Subject: RE: setup default webapp in tomcat 6 and apache > > What is the best way to configure/deploy an app so that it > will be accessed from the url: > http://localhost/index.jsp There's nothing wrong with the way you

Re: setup default webapp in tomcat 6 and apache

2009-01-16 Thread Pid
johnrock wrote: > > Caldarale, Charles R wrote: >>> Isn't this a very standard thing to do? >> No; one normally deploys webapps under the appBase. >> - Chuck >> > > Ok, I would like to follow the normal, best practices way. If you will > indulge me one more try: > > What is the best way to con

RE: setup default webapp in tomcat 6 and apache

2009-01-16 Thread johnrock
Caldarale, Charles R wrote: > >> Isn't this a very standard thing to do? > > No; one normally deploys webapps under the appBase. > - Chuck > Ok, I would like to follow the normal, best practices way. If you will indulge me one more try: What is the best way to configure/deploy an app so th

Re: setup default webapp in tomcat 6 and apache

2009-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, johnrock wrote: > # send all requests ending in .jsp to worker1 > JkMount /*.jsp worker1 > # send all requests ending /servlet to worker1 > JkMount /*/servlet/ worker1 [snip] > What I am trying to do is very simpl

RE: setup default webapp in tomcat 6 and apache

2009-01-16 Thread Caldarale, Charles R
> From: johnrock [mailto:johnpi...@yahoo.com] > Subject: RE: setup default webapp in tomcat 6 and apache > Is that the typical way this should be done? If you're keeping your webapp outside of the appBase directory, it's the only way it can be done. > I can't unde

RE: setup default webapp in tomcat 6 and apache

2009-01-15 Thread johnrock
Caldarale, Charles R wrote: > >> From: johnrock [mailto:johnpi...@yahoo.com] >> Subject: Re: setup default webapp in tomcat 6 and apache >> >> Assuming tomcat is running standalone on port 80, how do I >> set it up so that when I call >> http://localhost/

RE: setup default webapp in tomcat 6 and apache

2009-01-15 Thread Caldarale, Charles R
> From: johnrock [mailto:johnpi...@yahoo.com] > Subject: Re: setup default webapp in tomcat 6 and apache > > Assuming tomcat is running standalone on port 80, how do I > set it up so that when I call > http://localhost/index.jsp > Tomcat defaults to serving my custom app locat

Re: setup default webapp in tomcat 6 and apache

2009-01-15 Thread johnrock
Let me try to be more clear: Lets forget about Apache, that is not the issue: Assuming tomcat is running standalone on port 80, how do I set it up so that when I call http://localhost/index.jsp Tomcat defaults to serving my custom app located at: C:/myApp/web/index.jsp as opposed to what it is d

RE: setup default webapp in tomcat 6 and apache

2009-01-15 Thread Caldarale, Charles R
> From: johnrock [mailto:johnpi...@yahoo.com] > Subject: Re: setup default webapp in tomcat 6 and apache > > However, I fear that my confusion is even more basic - > as I have not set up tomcat before. The easiest thing you can do (assuming you're not trying to use PHP or som

Re: setup default webapp in tomcat 6 and apache

2009-01-15 Thread johnrock
I appreciate your great advice, and I will look into that. However, I fear that my confusion is even more basic - as I have not set up tomcat before. How should I set up my webApp so that when I call http://localhost/index.jsp in my browser tomcat serves up the index.jsp from my webApp dir: C:/p

Re: setup default webapp in tomcat 6 and apache

2009-01-15 Thread André Warnier
johnrock wrote: [.. plenty] Just one little trick, which you may have missed in the Apache/Tomcat docs : the JkMount/JkUnMount directives may sometimes be a bit clumsy to handle. You can replace them by something like this in Apache : (or ) SetHandler jakarta-servlet That does about the