| 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

Reply via email to