tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Eastham" <andy.east...@gliant.com>
Subject RE: Warp connections
Date Tue, 01 Oct 2002 12:52:55 GMT
Re: Warp connectionsSiggi,

What this means is that if you map, for example, /myapp to Tomcat, Tomcat
will serve all content under /myapp.  You cannot get Apache to serve
/myapp/my.jpg.

Apache will still serve things that aren't under /myapp, so /index.html,
/images/my.jpg etc _will_ be served by Apache.

Does this clarify the situation?

All the best,

Andy
  -----Original Message-----
  From: SigurĂ°ur Bjarnason [mailto:siggi@betware.com]
  Sent: 01 October 2002 13:45
  To: Tomcat Users List
  Subject: RE: Warp connections


  Ok.. So what is the use of the connector then ?!?!?!?

  If not to let Tomcat serve the Jsp and Servlets.. witch it is supposed to
do. ?!?

  This makes no sense at all to have this connector then.. ... If Tomcat
ends up serving all the content !  Then it would just be better to leave out
Apache to save cpu and so on !..

  This has to be misunderstanding !.. From my point of view, if the
connector cannot do this.. I just Get rid of Apache and let Tomcat do all
the work.. witch is does.. anyway if I use Warp..


  regards
  Siggi

    -----Original Message-----
    From: Jim Coble [mailto:Jim.Coble@duke.edu]
    Sent: lau. 28.9.2002 17:10
    To: Tomcat Users List
    Cc:
    Subject: Re: Warp connections





    Someone with more experience may have a better answer but it is my
    understanding that mod_webapp does not permit you to distinguish between
    static and dynamic content.  When you use mod_webapp, Tomcat services
all
    requests; i.e., you can't do what you want to do--serve html with Apache
    and jsp/servlets with Tomcat--using mod_webapp -- you would have to
    continue using mod_jk if that's what you want to do.
    --Jim

    ==================================
    Jim Coble
    Senior Technology Specialist
    Center for Instructional Technology
    Email: jim.coble@duke.edu
    Voice: 919-660-5974  Fax: 919-660-5923
    Box 90198, Duke University
    Durham, NC 27708-0198
    ==================================




                          SigurĂ°ur
                          Bjarnason                To:       "Tomcat Users
List" <tomcat-user@jakarta.apache.org>
                          <siggi@betware.co        cc:
                          m>                       Subject:  Warp
connections

                          09/28/2002 12:17
                          PM
                          Please respond to
                          "Tomcat Users
                          List"







    Hi all..

    I want to use the mod_webapp module for apache to connect it to tomcat..
I
    have one question about this

    The thing is.. i want apache to serve all static content.. like html and
    let tomcat handle the jsp and servlets.

    Now when i use the apj1.2 connector with mod_jk.so i use line like

    JkMount /TESTSUITE/servlet/* ajp12
    JkMount /TESTSUITE/*.jsp ajp12

    when i use the mod_webapp.. i use lines like as follows

     WebAppDeploy     examples    conn  /examples

    ......that is here that i have a problem !  how can i exclude the jsp
    pages... with this. ?!

    i have tryed to use

     WebAppDeploy     examples    conn  /examples/*.jsp

    But that have not worked for me.. so if someone out there have the
answer..
    i would be greatful ! :)

    Regards
    Siggi






    (See attached file: winmail.dat)--
    To unsubscribe, e-mail:   <
    mailto:tomcat-user-unsubscribe@jakarta.apache.org>
    For additional commands, e-mail: <
    mailto:tomcat-user-help@jakarta.apache.org>





Mime
View raw message