Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

Override IIS default 404 erorr page with CQ 404.jsp

$
0
0

Hi guys,

 

Anyone is using IIS server?

 

I have got the 404.jsp and placed it under /apps/sling/serlvet/errorhandler.

 

All works well until the page is deployed into production enviornment which is running on an IIS server.

 

Now whenever CQ gets a 404 page, instead of display the customised 404 page instructed by the 404.jsp, the IIS 404 standard (ugly) page gets displayed all the time.

 

We don't want to change the IIS configuration to be too specific to point to a single jsp page because there are other things running on the IIS server. Any suggestions on making IIS pass on the 404 error and let the application handle it?

 

many thanks.


Viewing all articles
Browse latest Browse all 12476


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>