I'm glad to hear that ExtraPathInfo works in 0.7.  I tried to use it myself
a few weeks ago and failed, but I probably did something wrong.  I'll try
again when I have a chance.

- Geoff

> -----Original Message-----
> From: Matt Feifarek [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 15, 2002 1:33 PM
> To: [EMAIL PROTECTED]; Sam Brauer
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Webware-discuss] file handling servlet
> 
> 
> | 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']
> 
> Sure beats mod_rewrite in my book.
> 
> 
> _______________________________________________________________
> 
> Have big pipes? SourceForge.net is looking for download 
> mirrors. We supply
> the hardware. You get the recognition. Email Us: 
> [EMAIL PROTECTED]
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
> 

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to