Re: Apache and Tomcat on separate servers

2001-01-05 Thread Filip Hanik

you can configure for Apache/mod_jk to simulate the servlet url mapping.

for example if I have a servlet com.me.MyServlet and the url pattern is
MyServlet.

I could tell Apache/mod_jk like this

JkMount /MyServlet ajp12
the mod_jk document explains all the details that you need to configure for
two machines.
it is not problem what so ever, let me know if you need more help

Filip

- Original Message -
From: "Stuart Maclean" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, January 05, 2001 5:38 PM
Subject: Re: Apache and Tomcat on separate servers


 It is possible to host tomcat and apache on diff hosts, but if I
 recall, the JSP pages or servlet-mapped urls, served by tomcat, can't
 refer to any urls served by the apache side, notably images, included
 HTML etc.  I ended up with such a mess of files on both hosts I host
 both on one machine.  Not ideal but manageable at least.

 just my 0.02

 stu




 --
 Stuart Maclean, Research Associate
 University of Washington
 ITS Research Program, College of Engineering
 Box 352500
 Seattle, WA 98195-2500
 Tel: (206) 543-0637
 http://www.its.washington.edu



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


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




Re: Apache and Tomcat on separate servers

2001-01-05 Thread Derek M. A. Lee-Wo

I think I understand the url mapping issues.  My concern was that I wanted
to have ALL my web files, be it HTML, JSP etc on the same box, but with
apache and Tomcat on separate servers.

I use mod_jserv instead of mod_jk, but I'll see if the mod_jk documentation
has anything that would help me do what I'm trying to accomplish.

Derek

---
Derek M. A. Lee-Wo
Home Email: [EMAIL PROTECTED]Work Email: [EMAIL PROTECTED]


- Original Message -
From: "Filip Hanik" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 05, 2001 8:52 PM
Subject: Re: Apache and Tomcat on separate servers


 you can configure for Apache/mod_jk to simulate the servlet url mapping.

 for example if I have a servlet com.me.MyServlet and the url pattern is
 MyServlet.

 I could tell Apache/mod_jk like this

 JkMount /MyServlet ajp12
 the mod_jk document explains all the details that you need to configure
for
 two machines.
 it is not problem what so ever, let me know if you need more help

 Filip

 - Original Message -
 From: "Stuart Maclean" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Friday, January 05, 2001 5:38 PM
 Subject: Re: Apache and Tomcat on separate servers


  It is possible to host tomcat and apache on diff hosts, but if I
  recall, the JSP pages or servlet-mapped urls, served by tomcat, can't
  refer to any urls served by the apache side, notably images, included
  HTML etc.  I ended up with such a mess of files on both hosts I host
  both on one machine.  Not ideal but manageable at least.
 
  just my 0.02
 
  stu
 
 
 
 
  --
  Stuart Maclean, Research Associate
  University of Washington
  ITS Research Program, College of Engineering
  Box 352500
  Seattle, WA 98195-2500
  Tel: (206) 543-0637
  http://www.its.washington.edu
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]


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



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




Re: Apache and Tomcat on separate servers

2001-01-05 Thread Derek M. A. Lee-Wo

 I could tell Apache/mod_jk like this

 JkMount /MyServlet ajp12

I took a look at the documentation and the I can see that the above will
send anything under /MyServlet to the remote box, but it's my understanding
that the JSP file must be located on the tomcat box.

Suppose I had a mixture of .html and .jsp files, I would either have to keep
the .html on the apache box and keep the .jsp on the tomcat box, or keep all
the files on the tomcat box.

Is my understanding correct?  Is it more typical to keep everything on one
box?

Derek



 the mod_jk document explains all the details that you need to configure
for
 two machines.
 it is not problem what so ever, let me know if you need more help

 Filip

 - Original Message -
 From: "Stuart Maclean" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Friday, January 05, 2001 5:38 PM
 Subject: Re: Apache and Tomcat on separate servers


  It is possible to host tomcat and apache on diff hosts, but if I
  recall, the JSP pages or servlet-mapped urls, served by tomcat, can't
  refer to any urls served by the apache side, notably images, included
  HTML etc.  I ended up with such a mess of files on both hosts I host
  both on one machine.  Not ideal but manageable at least.
 
  just my 0.02
 
  stu
 
 
 
 
  --
  Stuart Maclean, Research Associate
  University of Washington
  ITS Research Program, College of Engineering
  Box 352500
  Seattle, WA 98195-2500
  Tel: (206) 543-0637
  http://www.its.washington.edu
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]


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



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