>>> "Patrick R. Michaud" <[EMAIL PROTECTED]> 3/19/2007 1:10 AM >>>
On Sun, Mar 18, 2007 at 09:27:21PM -0400, David Spitzley wrote:
> I'm trying to upgrade my mom's research wiki to beta37, and
> I've run into a hitch. I did a clean install in a separate
> directory with a fresh config.php file, and for some reason
> I'm not able to get the Site.PageNotFound page to display
> for invalid page names; I get a 404 error instead. You can
> see the behavior at
>
> http://www.bagladyemporium.com/BLU2/index.php?n=Binky
You're running IIS. IIS intercepts the text that PmWiki returns
and replaces it with its own error message.
I know there's a setting in IIS to tell it not to do this, but
you can also tell PmWiki to use 200 for the return code for
non-existent pages by setting (in local/config.php):
$PageNotFoundHeaderFmt = '200 Ok';
--------------------------------------
The odd thing is that every other install of PmWiki I've got is also running on
IIS, and I've never run into this problem before. In any case, I've added the
line above to config.php, and now instead of a 404 error, I simply get a blank
page; see http://www.bagladyemporium.com/BLU2/index.php?n=Binky . Somehow the
PageNotFound code isn't engaging. Are any script files other than pmwiki.php
involved in the page identification process?
David
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users