Hi, I am getting the following error for CGI that's under /var/www/clients/client0/web1/cgi-bin instead of /var/www/clients/client0/web1/web/cgi-bin [cgid:error] End of script output before headers: file.cgi Do I need to set any permissions for CGI to work? Thank you!
Is this on an ISPConfig host? You posted on Linux forum. Follow these instructions to get some context: https://forum.howtoforge.com/threads/please-read-before-posting.58408/ On an ISPConfig host the created website should have cgi-bin directory like in your first example. Not sure. On ISPConfig setup I would turn on the cgi box in website settings.
Yes. Show directory listing of the directory where your script file is, something like Code: ls -lha /var/www/clients/client0/web1/cgi-bin/
Hi, How do I make it executable? Please see the listing below: Code: -rwxrwxrwx 1 web1 client0 contact.pl