Problem:
- Product Name: Borland Application Server
- Product Version: 5.x and 6.x
- Product Component: Web/Apache
- Platform/OS version: Solaris, Windows
- JDK: All supported JDK Versions
Customer may encounter error messages when trying to execute cgi scripts due to missing "mod_cgi.so" if they copy "httpd.conf" from Windows installation to their Solaris environment for both BES 5.x and BES 6.x.
This issue is caused by the name difference for cgi module under Windows and Solaris environment.
Under Windows the cgi module is called "mod_cgi.so" while it is called "mod_cgid.so" under Solaris Operating System. Because of this difference, the LoadModule section under "httpd.conf" would be different as well.
- httpd.conf (Windows): LoadModule cgi_module <BES_INSTALL>/lib/apache2/mod_cgi.so
- httpd.conf (Solaris) : LoadModule cgid_module <BES_INSTALL>/lib/apache2/mod_cgid.so
Resolution:
Under Solaris Operating system, <BES_INSTALL>/lib/apache2/ does not contain "mod_cgi.so" but it contains "mod_cgid.so". In order to load the cgi module properly, "httpd.conf" has to be modified to use "mod_cgid.so" instead of "mod_cgi.so"
#VisiBroker
#Apache
#Security
#AppServer
#mod_cgi




