YEAR 2000 CERTIFIED

 

Web Hosting
Dedicated Servers
Our Network
References
Online SupportOrder Online
Contact UsQuestion and Answer

 

 

 

 

 

ChinaWebHelp internet services

中国企业走向国际需要自己的网站
我们是您的忠实助手

Configuring CGI Scripts Using SSL

This is how to execute CGI scripts under a secure connection.  First, you must submit a request to activate SSL feature under your virtual domain.

Remember if you need your secure server name or need your cgi-bin securely enabled please Email us.

Using your local cgi-bin your path would look like this:
https://secure_server.net/your_domain/cgi-bin/somefile.pl

The secure_sever.net represents the server your virtual domain is hosted on.

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://secure_sever.net/your_domain/cgi-bin/formmail.pl

    without .com or .net

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

 

How do I set permissions inside my SSL cgi-bin?

If the browser returns 'Internal server error' every time you submit your form, you did not have the right permission set for your script.  Do the following to set the permission:

  1. Telnet into your cgi-bin directory and issue the following command:
    chmod 755 somefile.pl
    This will give universal  execute permissions for that file

 

Order | Hosting | Dedicated | Network | References | Support | Contact
Email us | Acceptable Use Policy