[pmwiki-users] Change the Page Does Not Exist page if not authorized

Sandy sandy at onebit.ca
Wed Feb 6 12:35:48 CST 2008


Petko Yotov wrote:
> On Wednesday 06 February 2008, Sandy wrote:

>> I would like the user to be told the page doesn't exist and get a link
>> to the Search page, as well being asked to log in.
>>
>> I tried editing Site.PageNotFound, but the request for a password comes
>> up before that page.
> 
> Edit the Site.AuthForm page too. Site.AuthForm is displayed when a user calls 
> a restricted page with ?action=edit. Site.PageNotFound is displayed when a 
> user calls the page without any action.
>

Your advice worked perfectly.

One of these days, I'll ask for something and be told it will take 
programming. There has to be something that hasn't been thought of in 
advance!

Thanks,

Sandy






More information about the pmwiki-users mailing list