Actinic Ecommerce Technical support

 
 
 
 
 



CGI Scripts

How do I upload a script?

Uploading a cgi script to your virtual server is simple. Login to your virtual server using FTP, once logged in go to the directory where you want to upload your cgi script to. Make sure that your FTP client is set to ASCII mode (if you upload in binary then your script will not work), upload your cgi script ensuring that it has a .cgi extension.

What are permissions and how do I set them?

To make a script work then you must make the script executable, you do this by setting the permissions on the script. A cgi script should be given the following permissions:-

755 or owner=read/write/execute, group=read/execute, world=read/execute

To learn how to set permissions using FTP then please visit our FTP guide.

Can you tell me the path to ... ?

Perl - /usr/bin/perl
Perl 5 - /usr/bin/perl
Sendmail? - /usr/sbin/sendmail
Date program - /bin/date
My home directory - /home/sites/www.your-domain/web/
CGI-BIN - /home/sites/www.your-domain/web/cgi-bin/
public_html directory - ../../web

What should the first line of my script look like?

#!/usr/bin/perl

My cgi script isn't working can you fix it for me?

No, unfortunately we can not provide support for scripts that do not work. Instead you should contact the author of the script for support.

Where can I download free CGI scripts?

The best place to find free cgi scripts is at http://www.cgi-resources.com/ which is like Yahoo! but for CGI scripts



 

 

 
 
Hazelgrove Associates Ltd T/as Hazelnet Web Solutions. PO Box 168, Bordon, GU35 5AY UK. Tel: 0870 005 3934