Configuring CGI Scripts Using SSL

How do I call a CGI script securely?

Using your local CGI BIN, your path would look like this:
https://yourserver/your_domain/cgi-bin/filename.pl

The first thing you must find out is on which server your domain resides. To find this information, please go to your control panel and click on 'Account management'. You will see something like host5.websitesource.com under the heading of "Hosting Server".

If you would like to use formmail.pl securely you first need to:

1. Save a copy of this script on your local hard drive.
2. Upload the 'formmail.pl' file into your local /cgi-bin directory. Then instead of calling the universal /cgi-sys directory, you would call your own /cgi-bin directory. It would look something like this:

https://yourservername.com/your_domain/cgi-bin/formmail.pl

Note: You do NOT include the extension of your domain (ie. '.com', '.net', '.org').
Note: Replace yourservername with the server on which your domain resides and replace your_domain with the domain name on your hosting account.

What is your server path to PERL and Sendmail?

Our server path to PERL is:
!/usr/local/bin/perl

The path to the Sendmail program is:
/usr/lib/sendmail

Add Feedback