Monday, August 17, 2015

Setting up webserver to use with WCS

Here I will be explaining how to setup an IBM HTTP web server for use with a WCS local development environment. 
Setup steps:
Download the installables and execute the installation script

Keep all the defaults. Especially the directory name: C:\Program Files\IBM HTTP Server this will save you from altering the config files later on.



Do Typical




Uncheck Run as service and IBM HTTP Administration as Service



Update the web server configuration




 Edit the httpd.conf file by by replacing all occurrences of <IHSInstallDir> to the IHS install directory.
 Edit the plugin-cfg.xml by replacing all occurrences of <IHSInstallDir> to the IHS install directory.
 Start your Commerce instance
 Add port 1080 to the virtual host



- Goto the admin console ( http://localhost:9060/ibm/console/secure/logon.do ) - Goto Environment -> Virtual Hosts -> WC_default_host -> Host Aliases - Add a new Alias Host Name: * Port: 1080






Testing steps
1. Start the web server server
Run c:\Program Files\IBM HTTP Server\bin\Apache.exe
2. Start your Commerce Server
3. Test dynamic content
Add the 1080 port to any browsing page. Here are some examples

No comments:

Post a Comment