Examples

Here are some coding examples for implementing secured pages:

USING SSL

When the SSL (Secure Socket Layer) feature has been enabled for your account, you can use SSL to encrypt any page on your site. For example, to call a form on your site, you would use the following:

<a href = "https://www.ssl9.com/joeshmoe/form.html">file</a >

You can SSL encrypt a CGI script while calling it with the following:

https://www.ssl9.com/joeshmoe/cgi-bin/something.pl

You must reference the page through the hostname of the ssl server (the name that is on the digital certificate) or you will receive the "certificate does not match error".)

Note, most hostnames must begin with the "www" prefix as in www.ssl9.com

(All links on the page that are being referenced via the "https" protocol must either be "relative" links, or they must start with "https". They should not start with "http". If they do start with "http", the page will show a "this information is not secure" error message.)

Also, if you are referencing a directory with the "https" protocol (for example, you want the "index.html" page to load), you must put a forward slash after the directory name.
Examples:

Incorrect: https://www.ssl9.com/kin27327
Correct: https://www.ssl9.com/kin27327/

Talk with us live about your problems!


Having a web hosting problem and need an answer now? Our web hosting support team is ready to answer your toughest account questions 24/7. Feel free to reach us if you are having a problem or just have a question or two about our services. We are here to help!