
visitashi wrote...
Blaise Grand wrote...
Yes I customized the error handling with this method but it works only for pages with .html extension. I think another default handler is called for unsupported extensions (or no extension too, in my case). And returns q 404 status code. I want to override this with my custom handler but how can I do this? I tried to override the original CQ 404.jsp and other error handling files, but no change.
Hi All,
We are also facing a similar issue wherein at the same level for some pages our custom error message shows and for some other pages it shows forbidden or not found .
eg: we access the url type as http://www.abc.com/a/b/c/ ----- this gives forbidden and the url http://www.abc.com/a/b/d/ --- gives the custom error page for 403 which we have created.
we had similar setting for one of the other sites where the custom error handler works fine but here it doesnt.
we tried to check the dipatcher settings . they seem similar to the site where it works pretty fine. so, we cant seem to understand the reason behind this.
pls help if anyone has faced any similar issues.
Thanks and Regards
Ashish
Hi Everyone,
I got the solution to this .
I used url shortening through etc/map.publish and it works fine for me now.