On Wed, 15 May 2002, Matt Feifarek wrote:
> | WebKit doesn't really have a good solution for this --
> | yet. There is a setting "ExtraPathInfo" which is
> | supposed to do what you're asking for here. But last
> | time I checked, the setting wasn't working :-( and it
> | hasn't been fixed in the meantime. I suppose that means
> | nobody is using it. Also, ExtraPathInfo is a global
>
> I've been experimenting with it. It works fine in 0.7 release.
>
> I put this into an awake() method:
>
> extra = transaction.request().extraURLPath()
> if extra:
> # if there is one, check how many parts it has
> extra = self.extra = extra.split('/')
>
> Then you've got either 'None' or a list of strings that correspond to extra
> url bits.
>
> So, I can do http://localhost/MyContext/foo/bar/baz/8
>
> which is actually hitting an index.py that lives in MyContext, and extra
> looks like this:
> ['foo','bar','baz','8']
A-ha! It only seems to work if your servlet is index.py... that's what I
was missing.
Thanks a lot!
>
> Sure beats mod_rewrite in my book.
>
--
Sam Brauer
Systems Programmer
[EMAIL PROTECTED]
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss