Home

Support Form

Quik Start Sheet

Online Documentation


Server Info

The HTML Writers Guild

WebJockey1 Online Documentation

Secure Socket Layer (SSL)

Normally, any text (such as your credit card number) sent from your browser to the web server is sent as plain text. This means that a hacker could potentially intercept (however unlikely) the information sent from your browser and read it. Therefore, by using the secure server, the information is encrypted before it is sent from your browser. It would be practically impossible for anyone to decrypt it without knowing the key.

Some users have experienced problems using the Secure Server. The most common reason is that the user has not inserted the proper code to call the secure server. We have several servers and depending upon which server you are on, you will need to enter the server number. If you do not know your server number, please complete the technical support request form and we will provide you with that information. Following is an example of how the code on the page containing your forms should look when calling the secure server:

https://host.wfdns2.com/yourdomain/yourpage.html

NOTE: Do NOT use the .com, .net, or any other extension when putting in your domain name.

What you would type into your browser window is the following.

http://yourdomainame.com/pagename.html


Using FormMail Through the Secure Server

If you are calling the formmail through the secure server, your action line and other code on the page(s) containing your form will look like the following.

< FORM METHOD=POST ACTION= "https://host.wfdns2.com/yourdomain/cgi-bin/formmail.pl" > < input type=hidden name="recipient" value="emailaccount@yourdomain.com" > < input type=hidden name="subject" value="Order" >

PLEASE NOTE: Do NOT use the .com, .net, or any other extension when putting in your domain name.

It's important that you call your order page through a secure URL (HTTPS) in order for it to work properly, for example:

https://host.wfdns2.com/yourdomain/yourorderform.html

NOTE: yourdomain is without the .com, .net, or any other extension.

Configuring the FormMail Script

First Download NOW the formmail.pl script (Current Version 1.9.) It is in .zip format and will need to be unzipped. Configure it as explained in the accompanying ReadMe file, chmod it 755 and upload it to your CGI-BIN directory on your server.

The formMail.pl script does not have to be extensively configured in order to work.Ê There are only two VARIABLES in the perl script which you will need to define along with changing the top line of your script to match the location of your Perl interpreter.ÊFor our server the path is /usr/bin/perl.

$mailprog = "/usr/sbin/sendmail";Ê This variable must define the location to your server's sendmail program which is /usr/sbin/sendmail for our server. If this is incorrect, form results will not be mailed to you.

@referers = ("yourdomain.com","IP Address");

This array allows you to define the domains that you will allow forms to reside on and use your FormMail script.Ê If a user tries to put a form on another server, that is not yourdomainame.com, they will receive an error message when someone tries to fill out their form.Ê By placing yourdomainame.com in the @referers array, this also allows www.yourdomain.com, ftp.yourdomain.com, any other http address with yourdomain.com in it and yourdomain.com's IP address to access this script as well, so no users will be turned away.

Uploading the FormMail Script

The next step is to upload the file to your cgi-bin using FTP or Telnet in ASCII mode (not binary.)Ê Once the file is uploaded you must CHMOD the file to 755.ÊFor more on how to do this, please see Setting Permissions.

Back to Top





Home | Services | Privacy  | Support

Copyright ©Webjockey1.com 2001 All Rights Reserved