From: Jeff D. <da...@da...> - 2000-06-30 18:21:42
|
>Jeff wrote: > > o Pagenames moved to PATH_INFO rather than in QUERY_ARGS. > >just to be sure I understand what you're talking about: Yes, I think you've got the idea. >It is a reasonable suggestion, but it means that >phpwiki would no longer run "out of the box". This kind of setup >requires changes to the web server's config. This is not possible >everywhere. I envision URLs like http://phpwiki.sourceforge.net/1.1.6/index.php3/PhpWikiBrainstorm http://phpwiki.sourceforge.net/1.1.6/index.php3/PhpWikiBrainstorm?edit I think these will work anywhere without server reconfiguration. Getting http://phpwiki.sourceforge.net/1.1.6/PhpWikiBrainstorm to work would be slick, but does take hacking on the server configuration. Easy enough for individual users to do if they want. >The only difference might be for spiders scanning the web (e.g. >search engines). Some of them ignore anything after "?" and would only >index the main page and nothing else. Yes. Which brings to mind another point: we should probably emit the Last-Modified: and Cache-Control: HTTP headers (and possibly check the If-Modified-Since: and If-None-Match: request headers). (i.e. for cache control purposes, browsed pages should appear to be static pages.) I once figured out the correct way to handle these (for http://www.dairiki.org/tides/) , and could probably sort it out again pretty quickly. >Any other reason? It makes more logical sense: the URL for each page looks like a URL for a page. URLs for operations on a page look like URLs for operations on a page. Also (I think) it would make it easy to create static 'snapshots' of a Wiki using a web mirroring tool like wget. Jeff |