What information and server paths are needed to run a CGI script?
CGI scripts must be run from the cgi-bin directory which is outside the httpdocs directory. CGI scripts need to have a .cgi or .pl extension. For security purposes, we use Apache’s suEXEC for the execution of CGI scripts. cgi-bin absolute path = /var/www/vhosts/yourdomain.com/cgi-bin/yourscript.cgi cgi-bin relative path = /cgi-bin/yourscript.cgi cgi url = http://yourdomain.com/cgi-bin/yourscript.cgi public directory absolute path = /var/www/vhosts/yourdomain.