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.

http://kb.parallels.com/en/193 

 

Was this answer helpful?

 Print this Article

Also Read

Online Backup installation

The Installation guide for Online Backup can be found here......

delete php sessions to free inodes.

Quick How To for the Impatient  1. Run following script to download clean-php-session-files.sh...

Slow ssh authentication

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

Backup mysql database

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

FTP uploads have wrong permissions

When files are created in a folder via FTP, the permisions are not set to those of the folder....