Bens Stuff

Wednesday, June 23, 2004

Use Apache 2.0 with Websphere 5

I've been using the IBMHttpServer version 1.3.26 for a while on my Windows XP machine and it seems to like to crash a lot. And I'm not talking about a mild crash, I'm talking BSOD, crash and burn, go out and install Linux cuz Windows sucks, type crash. I finally got fed up with it and installed Apache 2.0.48 and tried to make it work with WAS. Here are my instructions in case anyone finds them useful...

1. Install Apache 2.0 to C:\ApacheGroup
2. copy mod_was_ap20_http.dll to C:\ApacheGroup\Apache2\modules
3. add the following to the end of C:\ApacheGroup\Apache2\conf\httpd.conf:
LoadModule was_ap20_module C:/ApacheGroup/Apache2/modules/mod_was_ap20_http.dll
WebSpherePluginConfig "C:/WebSphere/AppServer/config/cells/plugin-cfg.xml"
4. Add the aliases from your IBMHttpServer's httpd.conf file to Apache's httpd.conf file.
5. Start WAS
6. Start Apache

BTW, you can get the mod_was_ap20_http.dll from your %WAS_HOME_V5%\bin directory if you chose to install the plugins when you first installed WAS. I've been using this setup for about a month now with no crashes!

Funny quote from IBM's site:
IBM recommends using IBM HTTP Server V2.0, rather than IBM HTTP Server V1.3.x, whenever possible. IBM HTTP Server V2.0 is fully tested and supported with the WebSphere Application Server plug-in.

Does this mean that 1.3.x is not fully tested, yet they released it anyway? Sounds like a Microsoft thing if you ask me...
Link to IBM support article.

0 Comments:

Post a Comment

<< Home