Re: Hostname is returned in Error Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux