Re: Replacing TEXT on the Response Page

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

 



On 06.10.2010 14:11, Tushar Chavan wrote:
Hi Expert,

Below is our scenario

Browser ----->Apache Server ------>Web Dispatcher ----->SAP J2EE Engine
------>SAP SRM Server..

Now when ever we execute https://apache_server_host:1443/irj , we get a
page. Now if I want to replace certain text on the page before
displaying to the user. ( e.g page contain 'service xyz is not available
on SAP SRM server ' . Now I want to replace SAP SRM server with Apache
host name )

How Can we do it ? Will mod_headers solve the purpose?

If the text is part of the response body, you can do it with mod_substitute. If the needed replacing is not a simple search and replace, you might use mod_proxy_html.

mod_headers can not replace content in the response body.

You might also be able to configure your SAP SRM server to directly output the right name.

Regards,

Rainer


---------------------------------------------------------------------
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