On April 26, 2002 03:22 pm, Kendall Clark wrote: > I use mod_rewrite heavily, but it's not terribly ideal:
I agree. Pushing this stuff into WebKit allows much greater flexibility and integration. However, mod_rewrite rules and WebKit-based-URL-decoding are not mutually exclusive. Some uses of mod_rewrite, such as direct serving of static content, have no place in WebKit. > 1) It's grotty black magic voodoo and I usually have to ritually slaughter > many Perl hackers to get it to work, and that's messy > > 2) I want to do these mappings in something like Webware (or XPath), i.e., > something that's expression-based; I don't like regex much at all > > 3) Though mod_rewrite is C code, I think there's more overhead doing it in > Apache than in Python as part of the algorithm of mapping URIs to source > resources, but that's more of a guess than a solid opinion. I'd guess the other way around! ----- As an aside, the current WebKit URL-decoding process relies on each URL chunk being a valid Python module/package name: http://example.com/WK/thisIsValid/_SoIsThis/00ButThisIsNot/Servlet.py You can work around this with extraPathInfo, but then I assume you can't drop the extension: http://example.com/WK/Servlet.py/thisIsValid/_SoIsThis/00NowThisValid/ [works] http://example.com/WK/Servlet/thisIsValid/_SoIsThis/00NowThisValid/ [does this work??] Tavis _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss