[pmwiki-users] "PmWiki can't process your request" errormessage.
Athan
foxx at freemail.gr
Sat Jan 6 00:40:51 CST 2007
"Patrick R. Michaud" <pmichaud at pobox.com> wrote in message
news:20070105233609.GB25990 at host.pmichaud.com...
> So, I guess I don't have a good answer for getting an invalid
> pagename to return Site.InvalidPage, at least not without
> drastically reworking the page resolution sequence. I can
> at least get it to return a 404 status code without much difficulty,
> instead of the 200 it's returning now.
>
> I'm open for other suggestions. I'd also be curious to know
> if anyone thinks that recipes would have problems if
> ResolvePageName() started to return 'Site.InvalidPage'
> for invalid pagenames instead of aborting as it does now.
I think there is no reason to make things more complicated. A simple 404
error could do the job.
This pmwiki error message is diplayed when user asks for a non existed page,
therefore a page not found server error is enough.
Athan
More information about the pmwiki-users
mailing list