[EMAIL PROTECTED] (Marcelo E. Magallon) wrote: > http://localhost/foo/test.cgi/bar > > PATH_INFO is "/bar" > SCRIPT_NAME is "/foo/test.cgi"
Just so. Thanks for the clear explanation Marcelo. I believe that kwiki should access pages using PATH_INFO, so we have http://www.kwiki.org/AnnoyingQuotePlugin rather than http://www.kwiki.org/?AnnoyingQuotePlugin - it also helps migrate sites to kwiki, not requiring all links to break or to have redirects/rewrites. I've been able to develop most of this by simply subclassing CGI::Kwiki::CGI (replace page_id and script) CGI::Kwiki::Privacy (replace script) CGI::Kwiki::Edit (replace save and script) CGI::Kwiki::Formatter (replace the wiki_link to allow / or : as path char) CGI::Kwiki::Template (replace process to render titles more nicely) Yes, I'm using 0.18 still, because I could find more documentation for now and make this work. I'll worry about the upgrade later, unless there's a compelling reason to worry now, or someone points me at a guide about doing this... ..also, how do I go about packaging this in a nice form for others, or submitting it to the core?
