Re: Notes affecting manual contributors
| From: | Scott Mattocks | Date: | Mon, 27 Mar 2006 17:13:55 +0000 |
| Subject: | Re: Notes affecting manual contributors | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-2002@lists.php.net to get a copy of this message | ||
Steph Fox wrote:
If they request:I don't think mod_rewrite can handle that because there are too many options. It would be hard for mod_rewrite to know which widget the method belongs to. Don't we really just want to hand off to the search script all of the time? Why do the same thing in this file that the search script will already be doing? We may want to use error/index.php to break the URI up a little before handing off to the search script but I don't think we really need to do any more than that. The search script should return a list of pages that are pretty good matches and should probably redirect to the doc page if there is one and only one exact match. error/index.php may need to handle the fallback to manual1 but I would think the search might take care of that as well. -- Scott Mattocks Author of the soon to be published: Pro PHP-GTK http://www.crisscott.comhttp://gtk.php.net/show_all This page should redirect them to: http://gtk.php.net/manual/en/gtk.gtkwidget.method.show_all.phpThat kind of thing's supposed to be the job of mod_rewrite. It seems to be doing something like this at present though - it's redirecting to the lookup page, but then if the lookup finds a match it sees it as an array, so it fails anyway.