Your Home/Root Directory


Once you logon through FTP, You'll notice the following directories in your account


 
Mail/ Mail functions configuration directory
accounts/ Where You Access Your Sub-Accounts
bin/ System Use Only
dev/ System Use Only
etc/ System Use Only
htdocs/ This is the root of your website
htdocs/cgi-bin/ This is your CGI program area.
lib32/ System Use Only
logs/ Server Logfiles are stored here

Mail/

PopMail/ Your POP3 account directory
AutoResp/ Autoresponder configuration directory

htdocs/

  • This is the directory where you put your html files, graphics, anything you want available through the server. You can create sub-directories as you wish. The server is configured to look for an index.html or index.htm file whenever a request is made for anydir/. index.html takes precedence over index.htm, so if both exists the server will choose index.html as the default page. If neither is not found, then the server will give a permission denied message when the directory is accessed. We recommend having either an index.html or index.htm file in every directory (there is no difference between the .html and the .htm extensions).

    See: How to access your files through the web server


htdocs/cgi-bin/

This is the directory where you should put all of your cgi scripts. Currently we support PERL5 (/usr/local/bin/perl) with the Berkley dB, and GDBM database modules, and the UNIX shells SH, BASH, and TCSH.

A few important notes:

  • Please be sure to upload your scripts in ASCII format, or they may contain ^M characters that may prevent your script from executing properly.
  • Use the ftp SITE CHMOD command to make sure that the proper permissions have been set on your program so that it may execute. Consult the documentation for your ftp client on how to issue "SITE" or "chmod" commands. The proper permissions for a cgi script are: 755 i.e. -rwxr-xr-x.

See: How to access your files through the web server


logs/

This is where your server logfiles are kept.

  • access_log- This file contains all accesses to your web site including any errors in accessing pages, as well as information regarding where your hits came from, and what browsers were used.


Every evening at midnight PST, your daily log files are archived and compressed into one .zip file named YYYYMMDD.zip, according the the month (MM), day (DD), and year (YY) of the log files that it holds. The .zip method of compression is widely supported on all platforms.

Archived log files are stored by the server for 5 days and then are purged from the system. This can be increased or decreased from the console under the "Current Disk Usage and Storage Limits" section with the "Old Logfiles Retained" option. Here are two of the most popular .ZIP Programs:


Winzip for PC

For Macs

Additionally, every evening a stats.YYYYMMDD.gz file is created in your logs directory which contains some vital statistics about your website's accesses for the last 24 hour period. The contents of these files can be viewed from the console. Just select "Web-site Logs and Statistics" then choose "Overall Summary For Each Day" from the pull-down menu and click "Display Statistics for:". The links on the left for each date show you the contents of these files.

There are many log analysis tools available to help with viewing and using your stats. Here is one example: Webalizer

Back to the Orientation Guide Index