Configure IHS to forward requests to was

Source: Internet
Author: User
Tags websphere application server
Today, IHS (ibm http server) is configured to forward requests to the was (WebSphere Application Server), which is a commonly used topology.

The scenario is to place IHS in DMZ, was behind the second firewall, send requests from internate to IHS, and then forward the requests from IHS to the Intranet was.

Visit http: // localhost/. The welcome page appears, indicating that your IHS is working.

Now, you can configure IHS and was on different machines. Copy the IHS installation file in the was installation disk and install it on another machine. Then, copy the conf/httpd under the directory of IHS that we configured successfully on the local machine. the mod_ibm_app_server_http.dll and plugin-cfg.xml of the loadmodule specified in CFG are copied to the machine where IHS is located. Copy the XML file to conf and the DLL to the root directory of IHS.

Then add the following content at the end of httpd. cfg under IHS conf:
Loadmodule ibm_app_server_http_module "D:/IHS/mod_ibm_app_server_http.dll"
WebSphere pluginconfig "D:/IHS/CONF/plugin-cfg.xml"

Note: The above path should be changed to the path of your IHS machine. The original path is the path on the machine of was.

Also pay attention to is to put the plugin-cfg.xml in
Log loglevel = "error" name = "D: \ IHS/logs/http_plugin.log"
The file specified by name must be changed to your local file. If you do not have this file, you can manually create a file and change it to the name you configured. Otherwise, an error is returned.

After ihsstarts, if ihsdoes not start a service, it will wait for a while after executing apache.exe. If you access http: // localhost/immediately, it is very likely that the welcome page will not appear, so wait a moment, otherwise, the configuration will be very depressing if the configuration fails. If the welcome page cannot be displayed, the page is 403 (Access prohibited). If the page is not 404 (the webpage cannot be found), the page is a permission issue. To create a user: htpasswd-C-m conf/admin. conf rabbit8 (my username), press enter, enter the password, then enter the password, restart Apache, then everything is OK.

In addition, each time was has a new application change, it needs to regenerate a plug-in file plugin-cfg.xml, which contains the ing of the routing application.

The company bought services for almost all Oracle and IBM products, so they could harass their customer service hotline when encountering problems. Today, a friend went to TSC and I called them, he helped me answer this question directly. Unfortunately, the phone number was recorded and he did not dare to chat!

IHS has many other functions, such as supporting HTTPS access. Some friends say it is troublesome to harass TSC when it is used. Haha!

From the office, I looked up at the sky and found that the Moon was very bright. I suddenly remembered that today was the tenth day of the lunar calendar. It was the time when the moon was the most Circle. "sijun is like a full moon, and the moon is shining every night ", I don't know how my wife's life is like?

Configure IHS to forward requests to was

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.