-----Original Message-----
From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 11:36 AM
To: Tomcat Users List
Subject: Re: mod_webapp and php
> > * The mod_webapp connector is configured based on the contents of the
> > web.xml file for your web application. The only required per-webapp
> > configuration information in your Apache 1.3 httpd.conf file is
> > something like this:
> >
> > WebAppDeploy examples warpConnection /examples/
> >
> > which causes mod_webapp to automatically recognize all of your servlet
> > mappings, security constraints, and other configuration elements.
> >
> > * Currently, mod_webapp forwards *all* requests under the specified
> > context path to Tomcat for processing. When Tomcat 4.0 final
> is released,
> > it will automatically configure itself to serve static resources
> > from Apache *unless* the resource is subject to filtering, or subject
> > to a security constraint, as defined in web.xml. No extra
> configuration
> > in httpd.conf will be required.
>
> I cannot fathom how they plan to do that, since it would violate
> the view of a "web application" as a sealed component on the
> "servlet container". I mean suppose you have a WELCOME.GIF file
> in your web application, how is Apache supposed to serve it,
> other than through WARP? Pre-caching of all static content upon
> "Warp Deployment"?
>
> Or perhaps, not pre-caching, but just simple caching? Man, that
> is dangerous. Suppose I keep my GIFs in database and I upload new
> GIFs. OK, OK, perhaps it is not a good idea to remap *.gif to a
> servlet, since browsers might cache it, too.
>
Actually its the only way I can imagine they've done it.
And with the proper implementation it won't be dangerous at all.
And about "sealing violation" you can always consider both Tomcat
and Apache to be container, can't you?
> Anyway, a web application with a whole lot of static content
> might need some re-modeling?
>
Who knows?
> I guess they realized that they cannot even make a promise on that.
>
Well, my guess is they HAVE done this.
> Whatever happened to Pier Fumagalli (if I remeber the name
> correctly)? He was the main man behind mod_webapp. Last I heard,
> he was looking for a new job.
>
> Nix.
This thread is starting to be a little bit large :) and out of its topic.
We can make our guesses forever and the only couple of statements from
developers could make it all cristal clear. Should we post a question to dev-list?
Will they answer just a general question?
Anton.
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>