Focal Point
Apache cgi scriptalias setup

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9371058331

May 06, 2005, 01:34 PM
Ron R
Apache cgi scriptalias setup
I'm trying to get the WebFocus client to work with the Apache webserver and I can't seem to figure out how to setup the scriptalias parameters. When I try to run the ibiweb.exe I get one of the following messages:

Unknown cgi alias
or
script not found or unable to stat: C:/ibi/client52/wfc/web/cgi/ibi-cgi

Thanks for your help.
Ron
May 06, 2005, 01:52 PM
<JG>
in http.conf you must have a line

ScriptAlias /cgi-bin/ibi_cgi/ "/install_directory/ibi/client52/wfc/web/cgi/"

It is very important that it comes before the standard cgi entry

Also make sure that Everyone has execute athority
May 10, 2005, 12:51 PM
Tom Walker
Ron,
We are having the exact same problem. In our installation we are using Apache Tomcat/5.5.7. Which version are you using?
May 11, 2005, 04:47 PM
Ron R
Tom,
We are using Apache Tomcat 5.0.28 along with Apache server 2.0.52. I have gotten the cgi to work with Apache Web Server and I've gotten servlets to work with Tomcat, but I havn't been able to get the web server and the servlet engine to work together yet. I used the folowing script alias settings to get the cgi to work with the web server:

ScriptAlias /ibi_html/ "c:/ibi/WEBFOCUS52/ibi_html/"

ScriptAlias /approot/ "c:/ibi/apps/"

ScriptAlias /worp_resource/ "c:/ibi/WEBFOCUS52/worp/"

ScriptAlias /cgi-bin/ibi_cgi/ "c:/ibi/client52/wfc/web/cgi/"

ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"
May 13, 2005, 01:20 PM
Tom Walker
Hi,

Did you enable jk_module in httpd.conf we need to donwload mod_jk.so and put in the modules sub-directory.

Let me know if you need some tips with this.