Files and Directories Reference Table


Files and Directories Notes
home/login This is the directory to use for your personal or general files that are not for display in your Web pages.
export System data and code
Bin System binary files
dev
devices
System device files
etc System configuration files
lib System libraries
local
opt
System files
ro Loop back mount
sbin System binaries
tmp System directory for temporary files
usr System executables
var System administration area
www/
your.domain.name.au
All files and directories associated with your Virtual Web Service are located under the directory named with your Virtual Web Service domain name.
For example, a company with a domain name of widget.com.au has a Virtual Web Service directory called widget.com.au.
analog.conf A file containing the configuration details for the Analog logging system.
cgi-bin This is where CGI programs reside. You may write to this directory.
superform.cgi A program called SuperForm for creating online forms.
nphcount.cgi A web site counter.
nphcount.cgi An access counter.
mail.cgi Mail cgi is a generic mailer, similar to SuperForm but with fewer features.

The user completes the forms as required and mail.cgi delivers mail according to the information on the form.
mail.list A list defining which email address(es) relate to which variable for mailing form results from SuperForm.
test-cgi/env.cgi Displays all environmental variables on the screen.
w3-msql.cgi w3-msql.cgi provides an interface to the mSQL database without requiring programming. You type your query in and mSQL processes the query and displays the output on screen.
status-pwd The default files which control access to the web server status page which is at the URL:

http://your.domain.name.au/status

A password is required to access this page. The default username and password is admin/admin. Use the /opt/local/bin/htpasswd program to put your own password into this file.
conf This directory contains read-only copies of your Web configuration files " access.conf, httpd.conf and srm.conf. These files are recreated from the central configuration database from time to time. You can not edit any of the *.conf files.
If you wish to customise any elements of your VWS, most customisation can be done using .htaccess files.
access.conf This file provides the configurations for access permissions to your files and directories.
httpd.conf Server configuration files. For example, the User and ServerName directives.
srm.conf Server Resource Map. Resource configuration files. For example, the DirectoryIndex and DocumentRoot directives.
srm.conf.bck A backup of srm.conf
htdocs This is the directory where you save your Web documents (for example, HTML) when they are ready for viewing.

You can create new subdirectories within this directory.

If required you can add access controls to some or all of your files and directories within htdocs (see Customising Access).

No programs can be saved under the htdocs directory even if you create a new cgi-bin or bin directory within htdocs. All programs MUST be located in the cgi-bin directory provided.
comments.html A simple form you can use to allow your Web visitors to send comments to you via email.
images A directory to contain images.
index.html A holding welcome page for your VWS. This should be replaced as soon as possible.
map.html A small file demonstrating an imagemap.
maps A directory to contain your imagemap files. Contains the sample example.map file.
icons A directory to contain icons.
images This directory is not present in all systems but even if you have this directory, please use htdocs/images for all images. New VWS services do not have this directory.

AAPT has made changes to this directory to ensure that all VWS services use the htdocs/images directory for images. As a result you may have an images-old directory under htdocs which is a copy of the images directory. These changes should present no problems. If you have this directory it will mirror the htdocs/images directory. The htdocs/images directory is the standard.
logs Contains files tracking your logging information, access.log, error.log and httpd.log. You can read these files but not alter them.
mime.types mime.types records the mapping between file types and their MIME encodings. This provides a list of allowable MIME types. This list is not necessarily exhaustive but contains many MIME types.

Currently you are unable to edit the mime.types file, however you can use the .htaccess file to edit your mime types instead.
status-pwd See cgi-bin/status-pwd

 

 




Copyright © AAPT Limited