You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by sa...@wipro.com on 2016/07/29 19:37:32 UTC

[users@httpd] Customized error page for application.ear down

Apachians,
Is there any possibility override the message which is getting displayed from application server through web server.

In detail :

Using WebSphere as application server and apache is web server.
Whenever we are making the application inside the application server [.ear or .war], browser display a message as

Error 404: com.ibm.ws.webcontainer.servlet.exception.NoTargetForURIException: No target servlet configured for uri: /contextroot

How can I hide this message and display some customized message to the user.

Is there anything I can implement in webserver.

✍ SaiKiran M
Wipro

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

Re: [users@httpd] Customized error page for application.ear down

Posted by Yann Ylavic <yl...@gmail.com>.
On Fri, Jul 29, 2016 at 9:37 PM,  <sa...@wipro.com> wrote:
>
> Is there any possibility override the message which is getting displayed
> from application server through web server.

Please have a look at "ProxyErrorOverride on"
(https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxyerroroverride).
This can apply any "ErrorDocument 404 ..." handling (or the default
httpd page) to such backend response.

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org