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

SCP stalls when uploading

Centos: Enter the following at the command prompt:- echo "net.ipv4.tcp_sack = 0" >>...

Clear postfix mail queue

Show QueuePostqueue -pDelete mail to/from mailboxpostqueue -p | tail -n +2 | awk 'BEGIN { RS = ""...

Improve ProFTPD performance

A quick fix to fix connectivity or slow connection issues when using ProFTPD is to edit some of...

Install SNMP (Centos)

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

Slow ssh authentication

Problem: ssh login takes up to 30 seconds. Solution: It is likely to be a Reverse DNS issue....