Run .cgi outside cgi-bin directory

By default runs CGI scripts in /cgi-bin/ folder only. To allow CGI scripts be processed from any folder, you should and uncomment the cgi-script AddHandler directive in the main apache configuration file /etc/httpd/conf/httpd.conf:

AddHandler cgi-script .cgi

Then restart Apache. 


Was this answer helpful?

 Print this Article

Also Read

Backup mysql database

mysqldump -u root -p databasename > databasename.sql If you are using plesk, replace root...

How to change mail server ip address for qmail

1) first check the domain names which are configured on the server by viewing following file...

What can I use instead of TreeSize

There is a Windows program called Tree Size which shows disk usage. You can tell how much each...

Install SNMP (Centos)

Centos6yum -y install snmp Centos7yum install net-snmp net-snmp-utils rename the file:...

Using rsync to copy files

Here is a good guide on how to sync folders using...