CGI download issue

Enable CGI through .htaccess

To enable CGI through .htaccess, perform the following steps:

  1. Log in to your server as the root user via SSH.
  2. Change to the /usr/local/apache/conf/ directory.
  3. Create a backup of your httpd.conf file. For example:

Note: In this example, http-old.conf represents the backup file’s name.

4. Open your http.conf file with a text editor and locate the section of the file that resembles the following example:

1 2 3 4<Directory "/"> Options +ExecCGI +FollowSymLinks +Includes +IncludesNOEXEC +Indexes -MultiViews +SymLinksIfOwnerMatch AllowOverride None </Directory>

  1. Change the AllowOverride line’s value from None to All.

Your server now allows CGI scripts to run in all directories.