Account Setup
The following section describes how your virtual servers are setup and how
to use them.
Your Home Directory
Your Virtual Web Server
Your home directory acts as a common area for all of the different
domains you're hosting with us. When your account is first activated
your home directory consists of a singe directory called
domains. Under the domains directory you
will find a subdirectory for each domain that is hosted with us. These
are referred to as "domain directories".
Generally your home directory is located at the following filesystem
path:
/local/home/YOUR_LOGIN
You may access your home directory directly through the shell server
(telnet or ssh) or the FTP server (using an FTP client on your local
computer).
Each domain directory consists of the following directories:
cgi-bin
logs
public_html
Starting from the top; the cgi-bin directory is where you
should place any custom CGI programs that you make. You aren't
required to place your CGI programs there (they can be placed
anywhere under your document root), but it is generally a good idea.
The web server has been configured so that any files that are in the
cgi-bin directory are to be treated CGI programs.
The logs directory is where all of the server logs are
kept. Each night we automatically run various analysis tools on your
log files and make the results available to you via your web browser.
In addition, these statistics files are automatically archived each
month so that you can view your past statistics.
The public_html directory is your web server root. In
this directory you will find additional directories for each subserver.
When your account is first activated there is a "www.your_domain.com"
directory in the web server root directory. Anything you place in the
subserver directory will be made available via the web.
With your virtual web server you can make web pages and files available
to anyone with a web browser. To make your files available, simply
place them under the appropriate document root.
You will find a directory called public_html in your
domain directory. This is your server root directory. Under the
server root directory you will find one or more subserver directories
(like "www.your_domain.com"). Each of these subserver directories are
individual document roots. That is where your should place your HTML
files and any other supporting files (such as images) that go along
with them.
There are several directories that are mapped into your document root.
These directories appear outside of your document root, but are still
available via the web. The following directories are mapped into your
document root:
/cgi-bin/
/g-cgi-bin/
/icons/
/STATS/
The /cgi-bin directory resides in your domain directory
(~/domains/your_domain.com/cgi-bin/). This is where you should place
any CGI programs that you wish to use. As an example, if you created a
CGI called "test.cgi" and placed it in your cgi-bin directory, it would
be accessible as follows:
http://www.your_domain.com/cgi-bin/test.cgi
The /g-cgi-bin is the global cgi-bin directory. This
directory contains all of the preconfigured CGI programs that we have
made available to you. For example, one of the preconfigured CGI
programs we make available is SimpleCount.cgi. It is meant to be used
as an image tag and would be available as follows:
<img src="/g-cgi-bin/SimpleCount.cgi?count.dat&8&1&0">
For a complete list of preinstalled CGI programs, visit our Development page.
The /icons directory is used internally by the web
server. This is the directory it grabs the icons for any error pages
that it displays (such as 404 Not Found). You should not use this
directory.
The /STATS directory (please note, it is case sensative)
is the directory that contains your statistics files that are generated
every night. It is accessible as follows:
http://www.your_domain.com/STATS
You will be prompted for your username and password when you try to view
your Statistics files.
Should you have any questions, problems, or special requests regarding
your virtual servers, please send a message to support@svwh.net.
|