On Wed, Jan 02, 2002 at 11:42:22PM -0600, Ian Bicking wrote:
> On Wed, 2002-01-02 at 11:18, Mike Orr wrote:
> > But on the other hand, it could resolve the issue I raised last week,
> > that ExtraPathInfo overrides "not found" errors in a nonintuitive way.
> > What I'd really like is to leave ExtraPathInfo off normally, and turn
> > it on only in a few certain directories.
> > 
> > Actually, even better would be a way to turn ExtraPathInfo on only
> > for certain servlets.  Would it be possible to have the equivalent of
> >     <Location servlet.py>
> >     <LocationMatch servletPattern.*>
> > directives to limit settings to certain servlets?
> 
> It would be much better just to add something to the Servlet interface
> -- i.e., an allowExtraPathInfo method.  Since servlets are structured
> and easy to query (unlike files from the perspective of Apache), you
> don't need a master file to control their use.

Actually, I started thinking the same thing a few hours ago.  The
servlet knows best whether it's designed to be called that way.
Put a default method in HTTPServlet itself saying no, and then the
servlet or an intermediate class can override it.

-- 
-Mike (Iron) Orr, [EMAIL PROTECTED]  (if mail problems: [EMAIL PROTECTED])
   http://iron.cx/     English * Esperanto * Russkiy * Deutsch * Espan~ol

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to