I am trying to customize portal standard errors, I was able to customize 404, 500 errors with the help of sap note and it is working fine in some scenarios and failing in some scenarios. Lets say
If i have some thing like http://host:Port/irj/porsdanf its giving me custom error instead of 404, if I have
http://host:Port/idg its giving me 404 error instead of custom error. In the same way If I try to access some files its giving Portal Runtime Error. Is there any way to stop all these and have a custom message.