On 1/5/07, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > On Fri, Dec 29, 2006 at 04:09:12PM +0200, Athan wrote: > > When entering an invalid subpage, PmWiki gives a default error message. Say > > for example http://server/cms/Main/HomePage is en existing page. The > > following message appears, when someone enters > > http://server/cms/Main/HomePage/something. Is it possible to return an error > > (404) page instead this? > > > > PmWiki can't process your request > > ?invalid page name > > We are sorry for any inconvenience. > > Are you simply looking for PmWiki to use a 404 status code in the > response, or do you want/need it to actually return a complete > page with skin and decorations (similar to what happens when > requesting a non-existing but valid page name)? >
BTW, error message is hardcoded, so it's not so easy to translate or customize it. If you would return Site.PageNotFound it would solve both problems. Roman _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
