httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Watts <m.wa...@eris.qinetiq.com>
Subject Re: [users@httpd] Hostname is returned in Error Message
Date Wed, 22 Sep 2010 08:50:08 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/21/2010 09:18 PM, Tushar Chavan wrote:
> Hi Team,
> 
> Below is our scenario.
> 
> Apache ----->SAP WEB Dispatcher ------>SAP Portal.
> 
> Reverse proxy is working fine except  that when error occurs it returns
> hostname of Portal in error message e.g . particular service is not
> active on SAP_Portal_host.
> 
> This error is the message returned by the portal. Its not kind of
> HTTP response like 404, 500 etc.
> 
> Is there any way to replace SAP Portal hostname in error message with
> Apache server hostname.
> 
> Best Regards,
> Tushar.
> 
> 
> 

If they're proper 4xx or 5xx errors coming from the origin server, set:

	ProxyErrorOverride on

This should allow you to return custom error documents on the proxy.


Mark.

- -- 
Mark Watts BSc RHCE MBCS
Senior Systems Engineer, IPR Secure Managed Hosting
www.QinetiQ.com
QinetiQ - Delivering customer-focused solutions
GPG Key: http://www.linux-corner.info/mwatts.gpg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkyZw0AACgkQBn4EFUVUIO2+kQCg74WnJJPnM2JjU1rmxxEVE+RV
vasAn1e0oT8Ef3ofDC2v9VtuAGr0xGRC
=MfTG
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message