Skip to main content

CGI application: setting up the donfiguration file for an Apache

  • February 15, 2013
  • 0 replies
  • 0 views

This articles explains how to configure Apache so the CGI runtimes find the appropriate configuration file.

Problem:

You are using a CGI application, but do not know how to set up a configuration file correctly.

Resolution:

The configuration file for Apache is the httpd.conf file. Add the following line into the file:


SetEnv A_CONFIG c:\\tmp\\cblconfig

Once you have done this restart the Apache server and you are set, the CGI runtimes started by the Apache server will look for this configuration file.

Old KB# 14185