To customize the Rational Rhapsody web server, you can modify the webconfig.c file and add that file to your web-enabled Rational Rhapsody model. The webconfig.c file is located within your Rational Rhapsody installation directory in Share\MakeTmpl\Web. The file is clearly commented before each function. To change the web server settings, edit the argument of the function to the appropriate setting.
Because other models use this file to configure web server settings, copy the file to another directory within your web-enabled project, for example, and edit that copy of the webconfig.c file. In the process of customizing your web server, be sure to add it to the configuration of your active component from within the Rational Rhapsody interface.
To add the modified webconfig.c file to your web-enabled model:
The kit includes examples in <product installation folder>\Share\MakeTmpl\web\WebServerConfig.