Re: Notes affecting manual contributors
| From: | Steph Fox | Date: | Mon, 27 Mar 2006 16:43:58 +0000 |
| Subject: | Re: Notes affecting manual contributors | ||
| References: | 1 2 3 4 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-2000@lists.php.net to get a copy of this message | ||
Hi Scott,
I commented the crap out of error/index.php just to get a better understanding of what was happening.Please delete the crap before committing, I found it confusing too! Before I get too involved, I want
to make sure I have the correct understanding of the purpose for this file. If a user requests a page that doesn't exist, this file tries to find the page they were looking for. Right?Right. If they request:
http://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.
If they request a page that cannot be found in /manual/ they should be redirected to a page in /manual1/ if it exists.Yep. Otherwise they should be
sent to the search page (when it is ready) which should be passed the URI as a search term.I think I'd be tempted to just 404 this at present.
If the page still can't be found, just give up and show them a 404.Yep.
Does that sound right?Pretty much. Remember we still have a search page in the interim period, but you're right in thinking that manual search is about to change dramatically. Note: you need to cvs update php-gtk-web module before you make changes if you haven't done so already, everything that used to be 'manual' is 'manual1' in there at present. - Steph