Posted by wd on 03/01/06 02:36
On Sun, 19 Feb 2006 00:47:41 +0000, Peter Fox wrote:
> Ooo err!
>
> Shouldn't you be returning 404 if foo doesn't exist when asked for with
> index.php?p=foo rather than any ?p=... ? What happens if Joe Bloggs
> types in one of the offending ?p=... or a valid ?p=... How do you
> distinguish those cases?
No need... .htaccess rewrites all urls for legitimate pages. If you ask
for anything with a ? in the URL you now get a 404. If you ask for the
rewritten URLs (no question mark), you get the correct pages.
Navigation:
[Reply to this message]
|