Running CGIs Print

  • 24

If you need to run CGI scripts, check the following items:

- Make sure that mod_cgi is being loaded in Apache, the following line must be in httpd.conf:
LoadModule cgi_module modules/

- Make sure you have a script alias directive to your cgi-bin directory:
ScriptAlias  /cgi-bin/ /var/www/cgi-bin/

- Make sure your scripts are executable and that they run by executing ./ or ./

Was this answer helpful?

« Back