On Tue, Aug 13, 2002 at 02:14:38PM -0400, Geoffrey Talvola wrote:
> If I'm understanding you correctly, this is exactly what ExtraPathInfo is
> _supposed_ to do. The problem is, I don't think it actually works properly
> in Webware CVS (or in release 0.7) and also, it ought to be settable on a
> servlet-by-servlet basis instead of being a global all-or-nothing flag.
Yes, we've discussed that last part especially. I'm a big fan of
per-servlet extra path info. I just got caught by it last week when I
built a directory like:
with no index.py in the subdirectory because there's noting appropriate
to put there: the parent index.py covers it. But if somebody goes to
they get the parent index.py since it considers "pix" to be extra path
info. Which would be OK except the parent index.py contains relative
links that don't work in the subdirectory.
Putting an index.py symlink in the subdirectory didn't help, and putting
in a throwaway servlet that redirects to the parent index.py seems lame,
and I didn't want to use a mod_rewrite rule for a temporary
situation/bug, so I made all the relative links in ../index.py into
slash links (starting from the document root). I'm not thrilled with
that since it makes the hierarchy non-portable, but it seemed like the
best workaround in this case.
The alernative would be to turn off ExtraPathInfo globally, but then I
couldn't use it at all.
-Mike (Iron) Orr, iron@... (if mail problems: mso@...)
http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol