Desktop and Server Virtualisation Specialist 

Twitter LinkedIn E-mail
Precedence Technologies Ltd
Technology House, 36a Union Lane
Cambridge, CB4 1QB, United Kingdom
T: +44 (0)8456 446 800 / +44 (0)1223 359900

Common problems with CGI scripts

  • Scripts must be in /cgi-bin/
    Scripts elsewhere will be ignored

  • Scripts must be publically readable and executable
    Your FTP package should allow you the option to set the access permission or mode. This should be set to 755 (if specified numerically), rwxr-xr-x (if specified symbolically) or owner read/write/execute and others read/execute.

  • File not found when trying to use Perl
    Make sure that the top line of your perl file has the correct path. This should be:

  • Please use sendmail correctly
    If you are using sendmail, please make sure that you are using the correct path. This should be:

    When using sendmail you must specify an address which the email is from. This is so that if the message bounces, it will be sent back to you. If you do not give an address, the bounced message will not be returned to you. To specify an address use the following options to sendmail:

    /usr/sbin/sendmail -t -f your@email.address

    (if you want to send the message to the addresses in the To:, Cc: and Bcc: lines)
    /usr/sbin/sendmail -f your@email.address

    (if you want to specify the recipients on the command line) N.B. recipients must be placed after all the other options as is always the case with Unix commands.

    Alternatively, please look at using our web-reply form.

© Copyright Precedence Technologies 1999-2024
Time elapsed:0.020