interactive menu...please load image

searchUNIX WEBSITE DOCUMENTATION: All Super class accounts

index

TRANSFER OF FILES

Note: You can upload and download files via three methods: FTP (file transfer protocol), Microsoft Frontpage, or via the file manager in your control panel.  We recommend ftp as the best and most foolproof way of transfering files.  Do not mix and match methods as using ftp and frontpage on the same file will result in corruption.
USING CGI
AUTO INSTALLATION SCRIPTS:

Please note that these scripts can be controlled and installed by logging onto your web control panel.  As such documentation for these scripts assumes you are already logged onto your panel.  Please note, the control panel aids in the installation of scripts.  Complete installation is not guarenteed.  You should have a working knowledge of CGI to complete any installation.

Simple CGI Wrappper
Random page generator
Guestbook
Advanced Guestbook
Hit Counter
Clock
Chat
JavaChat
Java CountDown
Java CountUp
CGI EMail
FormMail
Entropy Search
Entropy Banner
XMB Bulletin Board
BUILT-IN SHOPPING CART SCRIPTS:

Please note that these scripts can be controlled and installed by logging onto your web control panel.  As such documentation for these scripts assumes you are already logged onto your panel.  Please note, the control panel aids in the installation of scripts.  Complete installation is not guarenteed.  You should have a working knowledge of CGI to complete any installation.

Agora Shopping Cart System
Interchange Shopping Cart System
OTHER CGI SCRIPTS (INSTALLING YOUR OWN SCRIPTS)
Path to perl:
The path to perl on the server is:

/usr/bin/perl

Thus all cgi programs should start with the following line at the top of the program:

#!/usr/bin/perl

Running CGI programs directly from the CGI-BIn directory:
If you run a program directory from the cgi-bin directory, the path to access the script (for example myscript.pl) is:

action="cgi-bin/myscrpt.pl"

Refer to the section below for the conditions that have to be met to make a cgi program run.

Where do I put my USER-CREATED CGI programs?
Our servers have the capability to run CGI scripts based on Perl, Unix SH, KSH, CSH, and C/C++ languages (etc). Perl is our language of choice as it is a world standard and is well suited to CGI. In addition, Perl code does not require manual compilations whereas C/C++ code must be compiled on our web servers prior to use:

In order to run CGI programs, two conditions must be met:

  1. The script must have an extension of .cgi or .pl in all cases.
  2. The script must be marked as executable. This is done with the chmod command. If you are logged in via Telnet, use chmod 755 If you are logged in via FTP, use quote site exec chmod 755 scriptname.cgi in the appropriate directory. This may not work well with all FTP clients; if you have trouble, please log in via Telnet to change the permissions manually.

  3. A note for users of Frontpage:  If you use FP you must chmod files and directories with 775 instead, to avoid conflicts.

    IN ADDITION:

  4. Here are some helpful tips to follow when installing Perl scripts:
How do I see the errors from CGI programs?
Errors from CGI programs normally go into the Web server's error logs, or sometimes they go nowhere at all. They do not normally go to your Web browser. The error messages given for the failure of a CGI script are very generic and distinctly unhelpful.

An easy way to detect script errors is to logon via Telnet SSH and run the script directly from the system shell.  For example with command perl myscript.pl.  This will list errors that the system detects.  They are not specific but they may help you track down bad code.

JAVA, Compiling: Sendmail, Where is it Anyways?
The physical location of sendmail on your pro-series server is normally:
typically /usr/sbin/sendmail

if yours is not present there you can locate it with the following TELNET command:

whereis sendmail

Using my Email Account

Multiple email boxes are provided with every website hosting account free of charge.  Please check the account configuration page to see how many your account type receives.  You may access your email account in the following manners:

(1) THROUGH THE WORLD WIDE WEB: Your account has access to a browser based email system.  This is useful if you do not want to use a POP email program or your POP program fails.  To access browser based email, simply logon to your control panel and select the appropriate icon.

(2) THROUGH SSH LOGON : Your primary account mailbox can be accessed through a SSH shell logon, by using the pine command inside the shell.  Secondary mailboxes can not be accessed with pine.

(3) THROUGH A POP EMAIL PROGRAM : This is the preferred method of getting and sending email with your account.  Your primary account mailbox as well as any secondary mailboxes may be accessed from any internet hookup using a mail program such as Eudora Mail, Pegasus, Outlook, NetscapeMail, ExplorerMail.  POP programs automatically retrieve email from your account and allow you to send and store email with ease.

CONFIGURING A POP or IMAP EMAIL PROGRAM
The following is the general syntax one should use when configuring an email program on this server.  Please note that their is a syntax difference in configuring the primary email box of an account as opposed to all other boxes, which we will describe.  Directly below this general syntax are specific examples for common email programs such as Outlook and Eudora.
RECEIVING EMAIL: All email programs require a minimum of two things to connect to your box: your box username which in these examples will be displayed in green and your host address which will be displayed in blue.  All other settings are usually optional or non-specific.
Primary mailbox: To connect to your primary mailbox (which is the box that corresponds to your account's upload logon name), set your POP program's access settings to username@yourdomain.com (which is your POP email setting).  So if your domain was www.charlie.com and your main username was happy, you would point your mail program to POP address happy@charlie.com.  Some email programs split this setting up and have you put your username happy and your server address charlie.com in seperate fields.  Additionally, you should set email authentication to ON.

All secondary boxes: To connect to any other mailboxes on your server set your POP program's access settings to username+yourdomain.com@yourdomain.com (which is your POP email setting).  So if your domain was www.charlie.com and your main username was happy, you would point your mail program to POP address happy+charlie.com@charlie.com.  Some email programs split this setting up and have you put your username happy+charlie.com and your server address charlie.com in seperate fields.  Additionally, you should set email authentication to ON.

A note on the "+" character.  Some older email programs may not like the "+" character.  If so you may replace it with the percent sign (%) or the at sign (@).

SENDING EMAIL: To send email you must give your POP program a SMTP gateway address.  This SMTP setting controls outgoing mail.  Ideally, since you want to send email out via the shortest route possible, you should use the SMTP setting that is available from your dialup provider.  Actually most dialup providers require you to use their SMTP address anyway.  Ask your dialup provider what yours SMTP setting is.  If you cannot get one from your dialup provider or it does not work, use your mail.yourdomainname.extension (for example mail.myname.com).

Setting up email for Eudora Email Software version 3:
  • On the top of Eudora, select SPECIAL and then scroll down to settings.
  • Your POP retreival setting should look like: username@your_domain.com.

  • For instance ours is webster@webcs.com.
  • Your SMTP server setting controls your outgoing email (see above for details) was included in your initial startup email.
  • Your return address should be your proper email address, for example username@yourdomain.com.
  • Under the CHECKING MAIL SECTION, make sure the "Leave Mail on Server" option is not chosen.  The "Send on check" option should also not be chosen.
  • Alright, Eudora should now be configured to reach your mailbox here at WEBster.
  • IF THIS IS NOT YOUR PRIMARY MAILBOX, replace username with username+yourdomain.com in the examples above.
  • Setting up email for Eudora Email Software version 4 or later:
  • On the top of Eudora, select TOOLS and then scroll down to OPTIONS.
  • Your incoming email server setting should look like: yourdomain.com.

  • For instance ours is webcs.com.
  • Your username is simply your mailbox username.
  • Your SMTP server setting controls your outgoing email (see above for details) was included in your initial startup email.
  • Your return address should be your proper email address, for example username@yourdomain.com.
  • Under the CHECKING MAIL SECTION, make sure the "Leave Mail on Server" option is not chosen.  The "Send on check" option should also not be chosen.
  • Alright, Eudora should now be configured to reach your mailbox here at WEBster.
  • IF THIS IS NOT YOUR PRIMARY MAILBOX, replace username with username+yourdomain.com in the examples above.
  • Setting up email for Outlook, Netscape and Microsoft:
  • Your incoming email server setting should look like: yourdomain.com.

  • For instance ours is webcs.com.
    The type of mail server is POP3 or if that does not work just POP.
  • Your username is simply your mailbox username.
  • Your SMTP server setting controls your outgoing email (see above for details) was included in your initial startup email.
  • Your return address should be your proper email address, for example username@yourdomain.com.
  • IF THIS IS NOT YOUR PRIMARY MAILBOX, replace username with username+yourdomain.com in the examples above.
  • PINE: Sending Email Directly from your account Shell::
    Pine is a special email program built into your account shell (SSH logon).  It is accessible via the lowecase command pine after you logon to your shell.  Its best use it to delete old email or spam that may clog up in your main mailbox.  But you can also send email direcly from it in case of emergency when normal POP programs may fail.

    Pine will access your main mailbox, none of your secondary boxes.  To send, receive and delete mail follow the straightforward commands that appear on the screen when you activate the pine command.  For details information on pine, visit this website.

    Changing your email and return addresses in pine:

    Before sending email with pine it is important that you set the email address you want your receivers to see, otherwise pine will default to an return email address that is 99% of the time not what you want.  To do this, enter pine.  Press S for setup and then C for Config.

    You will see a list of a lot of options.  Most should not be touched.

  • Select personal-name, press return, enter your name and then press return again
  • Select user-domain, enter your domain name minus the www (example: webcs.com), and then press return
  • Scroll along way down the options (very long way) and you will see an item called customized-hdrs.  Select it by pressing return and then enter the following corresponding to your real name and the email address you want receivers to reply to::: For example we will assume your return address is bunny@ears.com and your name is Peter Rabbit:

  •  

     
     
     

    From: "Peter Rabbit" <bunny@ears.com>
     

    Now press return

  • Select E for exit and your configuration should be setup properly.  You are ready to send email with pine.
  • Setting up a signature via pine:

    Press S for setup and S agian for signature.  Enter your signature which will appear at the bottom of all emails send through pine.  Press control-E to exit when you are done.

    Access your Email Via Web Browser