Hi Magnolians,

I'm trying to configure custom error handlers for my website, following the 
instructions on
https://wiki.magnolia-cms.com/display/WIKI/How+to+setup+a+custom+404+handler

So I ended up with adding the error page configuration to the [i]web.xml[/i] of 
my web application as follows:

[code]
<web-app>

 [...lots of tags...]

  <error-page>
    <error-code>404</error-code>
    <location>/service/error404.html</location>
  </error-page>

</web-app>
[/code]

The <location> attribute [i]/service/error404.html[/i] points to a Magnolia 
page, therefore located in the website workspace.

Now I have the following problem:
Only users who logged in (authenticated) to the Admin Central of my public 
instance see the proper 404 error page. Unauthenticated, anonymous website 
visitors see nothing but a blank page instead.

First I thought it might be related to some missing roles for the 
[i]anonymous[/i] user. However, for an authenticated user who has the same 
groups / roles assigned as [i]anonymous[/i], the error page is shown properly. 
It's really just not shown if the website visitor is not authenticated at all.

Sidenote:
As far as I remember this worked fine with Magnolia EE 4.5. . I have this 
problem since I upgraded to Magnolia EE 5.3.4 (Apache Tomcat 7.0.47).

Any help is greatly appreciated!

Thanks,
Zoltan

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=34916cea-f00e-4af2-b37f-016a0f09bbae


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to