| iMatix home page
| Xitami home page
| << | < | > | >>
Xitami Xitami
Version 2.4d7

Configuration

Xitami will run straight out of the box with no configuration. However, advanced users may want to modify Xitami's behaviour with respect to security, CGI, logging, etc. Xitami reads a configuration file, xitami.cfg to get information such as the logfile name and MIME types. This is how the configuration files work:

In this document, configuration options are specified using the notation section:keyword, for instance 'server:debug=1' for the file example above.

Web-Based Administration (WBA) Interface

The URL '/admin' will launch the WBA. This URL is password protected so that it is inaccessible until you have specified a new password. To enable the WBA you should modify xitami.aut and set a password for the [/admin] URL. Note that xitami.aut is re-installed with each new version, so the better long-term approach is to define a [Security]filename= option in defaults.cfg.

The WBA can be used in conjunction with this HTML-based help text, as regards the various config options. At any time you can, of course, modify the config files by hand.

To disable the WBA, remove the xiadmin entry from the [WSX] section in the xitami.cfg and default.cfg files.

Configuration File Syntax

A configuration file defines a series of sections, each containing options. Comments are indicated by '#' at any point in the line. Blank lines are ignored. Each option takes this form:

name=value

The option name is case insensitive. You can put spaces around the '=' if wanted. The option value is case-sensitive and may be enclosed in double quotes if necessary. To specify an empty value, use "". For example:

form-prefix=""

You can put references to environment variables in the configuration file values using this syntax: $(NAME). Note that the name must be in uppercase, and that such references cannot be embedded.

Prior to version 2.4, Xitami used "_" and "-" interchangeably in the config files; this is no longer the case, and Xitami uses "-" in all keys.

The [Version] Section

This section defines the configuration file as valid for Xitami. You should not delete or modify this section.

The [Server] Section

This section defines general parameters for the web server:

webpages
Specifies the directory root where web pages are located. This can be an absolute directory or a relative directory.
Default: webpages (a subdirectory of the server working directory)
cgi-bin
Specifies the directory where CGI programs are located. This can be an absolute directory (starting with '/' or '\', if you prefer) or a relative directory (not starting with '/' or '\'). See the section on CGI directories for more details.
Default: cgi-bin (a subdirectory of the server working directory)
cgi-url
Specifies the string that Xitami uses to detect that a URL is to be treated as a CGI. This value must start with '/', and can consist of one or more paths. For instance: '/cgi', '/script', '/scripts/cgi'. This string does not actually refer to a real disk directory; it is translated into a real filename using the cgi-bin option, and a heuristic - see CGI directories.
Default: /cgi-bin.
refresh
Specifies the delay in seconds between each server refresh. At each refresh, the server does a number of administrative tasks: reload the configuration file if changed; reopen the file xitami.aut in any case; cycle the log files if necessary. The refresh rate has a minimum of 10 seconds, unless it is set to 0 in which case no refresh occurs at all. (This can be used to determine if the refresh is causing sporadic problems.)
Default: 60 seconds
debug
If 1, the server creates various debugging log files. The file request.log contains every incoming request. The file 'debug.log' in particular logs the processing of the requests. The file 'header.log' contains every response sent back to the browser. Use this to debug a virtual host configuration that gives problems, or to determine the cause of a recurrent problem.
Default:0 (zero)
debug-dir
Specifies a directory for debug log files. Xitami interprets this value as an environment variable if possible, else as a literal directory name. If you want it to refer only to a directory name, end it in '/'.
Default: debug.
temp-dir
Specifies a directory for temporary files. The server creates these to pass information to and from CGI programs, and if debugging is enabled, you may find that these accumulate. Xitami interprets this value as an environment variable if possible, else as a literal directory name. If you want it to refer only to a directory name, end it in '/'.
Default: temp.
log-dir
Specifies the directory for log files. This option applies to all log files that Xitami creates, except debug log files. You can leave this option empty, and specify a full path name for each log file: this allows you to put different log files where you like.
Default: logs.
header-dir
Specifies the directory for header files. Header files contain custom HTTP headers, used for all files of some type. For instance, you can ask Xitami to output the HTTP header 'Cache-Control: no-cache' for all files with the extension '.txt' by creating a file called 'header.txt' in this directory, and containing the HTTP header line. Each header file matches all files with the same extension.
Default: logs.
limit
Specifies the maximum number of concurrent HTTP connections. On systems that can handle lots of open sockets (e.g. Unix, OS/2, WinNT, Win98), you may want to set this high. Xitami does not impose any fixed limit. If you set this value to 0, it means 'no limit'.
Default: 20 connections for Windows systems, no limit on others.
background
If 1, the server runs as a background process, on operating systems that support this functionality. If 0, the server runs as a foreground process. Background processes are detached from their controlling terminal and must be halted by a system 'kill process' request. Foreground processes send their output to the controlling terminal and can be halted by an interrupt key (e.g. Ctrl-C). Currently, only implemented on UNIX systems.
Default: 0 (foreground)
autostart
If 1, the server will run even if it cannot open the HTTP port. It will retry every 5 seconds until you stop the server (which must be done manually if the HTTP service cannot start). The autostart option applies both to the HTTP and the FTP service. This option is useful for systems where the network is not initially active, but comes 'up' after some action (e.g. dialing-up). Currently it is implemented only in the 32-bit Windows version of Xitami, partly for various boring technical reasons, but mostly because this is the only platform that actually needs it.
Default: 0 (will halt if it cannot open its HTTP port).
recover
If 1, the server will try to recover from fatal errors using an internal crash recovery system. This currently only works under Windows. When this option is 0, Xitami will show a fatal error message and (under Windows) allow the web administrator to continue. When this option is 1, Xitami will silently recover and continue working.
Default: 0 (will halt and show a message).
dirsort
Specifies the sort order for directory listings. You can sort by file name, extension, size, or modification date/time using any combination of the letters 'n', 'x', 's', and 't'. For instance, dirsort=xnt will sort by extension, then name, then time. To sort in reverse order, use capital letters. For instance to show the most recent files first, use dirsort=T.
Default: n (sort by name).
advertize
Specifies whether Xitami adds the line 'Powered by Xitami' at the end of directory listings.
Default: 1
keep-alive
If 1, Xitami will allow browsers that support the Keep-Alive protocol to carry-out multiple requests on a single connection. This can improve performance, especially on pages with very many small files. If 0, the browser creates a new connection for each HTTP request.
Default: 1
keep-alive-max
A number greater than 1; Xitami will allow this many requests on an 'alive' connection before closing it. Setting this to 1 has the same effect as setting keep-alive to 0.
Default: 25
timeout
A 'kept-alive' connection will last this long before Xitami closes it. The timeout is specified in seconds. You can actually put this value quite high if wanted: the cost of an open connection is low and does not degrade the server performance. Anything more than a minute or so is probably not worth it.
Default: 30 seconds
defaultn
Specifies the default files. Up to 32 default files can be specified. When the user specifies a URL without filename, the server searches the directory for the default files, in order, from default1 to default32, until a matching file is found or the default sequence ends. Note that Xitami automatically looks for .html extensions if a .htm file is not found.
Default: default1=index.htm default2=default.htm
cache-defaults
Normally, defaults pages are cached like any other. This means that if the browser has already loaded the page, it will add a HTTP request header 'If-Modified-Since'. Xitami uses this date to determine whether to send the page or not. In most cases, it is appropriate to leave this option enabled. However, if you are developing several sites, you may find that the browser shows the default page from one site when you look at another. You can clear the browser cache and reload, but this is usually pretty tiresome. So, disable this option, and Xitami will never cache defaults pages.
error-header
Specifies the text used to preface an HTTP error message. The text may either be HTML, or a filename prefaced by '@'. If the text comes from a file, Xitami will re-read this file each time it sends an error response.
Default: <HTML><TITLE>Error</TITLE> <BODY><H1><B>
error-footer
Specifies the text used to end an HTTP error message. The text may either be HTML, or a filename prefaced by '@'. If the text comes from a file, Xitami will re-read this file each time it sends an error response.
Default:</B></H1></BODY></HTML>
text-xxx
Specifies the text used for a specific HTTP error code. The text may either be HTML, or a filename prefaced by '@'. If the text comes from a file, Xitami will re-read this file each time it sends an error response. The text is always prefixed by the error header and suffixed by the error footer. You can use this for error codes 4xx and 5xx. 2xx codes are not errors, and 3xx codes are handled by the browser without displaying any text that the server might send. To test a specific error, you can use the special URL 'error?xxx'. For instance, to simulate a 402 error (Payment Required), use a URL like this: 'http://127.0.0.1/error?402'. You can simulate a 302 error (temporary redirection) using a URL like this: 'http://127.0.0.1/error?302:/somedir/somepage.htm'. The error codes returned by Xitami are:
200Ok
201Created
202Accepted
203Partial information
204No response
301Moved
302Found
303Method
304Not modified
400Bad request
401Unauthorized
402Payment required
403Forbidden
404Not found
412Precondition failed
413Request entity too large
500Internal error
501Not implemented
502Service temporarily overloaded
Default:HTTP/1.0 XXX:error text
priority
Specifies the server priority, on systems where this is possible (currently only Windows NT and 95). 1=normal, 2=low, 3=high. You can set the priority to 'low' for systems where the server should not interfere with other processes. You can set the priority to 'high' for systems where the server is the main process.
ipaddress
Specifies the IP address on which Xitami should open its HTTP connection. If this is 0, Xitami will open its connection on all available IP addresses. This is normally a Good Idea, since it makes configuration much simpler on a multihomed system, and is completely correct on a single-homed system (i.e. a system with just one IP address, which is pretty common). If you have multiple IP addresses and want to run Xitami on just one of these, you can specify it here using the standard dotted network address format. This will effectively disable IP-based virtual hosting.
Default: 0 (take any available IP address).
portbase
Defines the IP port base for the server. Add 80 to this to calculate the actual port used for the HTTP service. For example, to run the server on port 6080, define portbase as 6000. We use a portbase in place of an absolute address so that multiple protocols (e.g. the FTP server embedded into Xitami) can be managed as one unit.
Default: 0 (zero)
portbasen
Specifies one or more alternate portbases; if the primary HTTP port is unavailable, will try portbase1, portbase2, etc. until a free port is found, or no further alternate portbases are found.
Default: no default.
base-host
Specifies the name of the configuration file used for the base virtual host. You may need this option when you have virtual hosts that all inherit values from defaults.cfg, but where the base host needs different values.
Default: basehost.cfg
hostname
Specifies your fully-qualified domain name for the server. This name is used whenever the server needs to redirect a request (e.g. for image maps). You may want to provide this when configuring a virtual host. It is not usually necessary on single-hosted systems.
Default: the system hostname.
defaults
Specifies the name of the local configuration file. This file provides the defaults that are used for all virtual hosts. Anything in the defaults file overrides the contents of xitami.cfg.
Default: defaults.cfg

The [Alias] Section

This section lets you define multiple document roots. Each alias specifies a name and a path. For example:

[Alias]
cdrom=G:\html
private/pub=i:\pub
private/doc=i:\docs\current

The alias name may contain '/'. It is not case sensitive. In A URL, the alias comes at the start, e.g.:

http://127.0.0.1/cdrom/index.htm

There is no fixed limit to the number of aliases you can define. However, if you define large numbers of aliases, Xitami will run slower. An alias can refer to a file, including extension. In this case, the file will act as a default file for that alias.

The [Virtual-Hosts] Section

This section lets you define virtual hosts. A virtual host can be specified in two ways: by IP address (if your system has multiple IP addresses) or by name (if your system has multiple names). Each entry in the [Virtual-Hosts] section defines one virtual host, like this:

[Virtual-Hosts]
www.rnd.imatix.com=research.cfg
253.112.23.51=home.cfg

See the section on virtual hosts for more details.

The [Filter] Section

This section is used to define filter programs. Filters are programs that are run with the (usually) HTML file as input. You can write filters in Perl, Awk, C, Rexx, or any other language that can handle standard input/output streams. Filters are a little like CGI programs, except that they are invoked whenever a certain type of file is requested.

Each definition in this section consists of a file extension with a leading dot and a command. The command may be with a full path, or without, if the program is on the PATH. Xitami lets you run scripts directly under OS/2 and Windows 95/NT, if you respect the header conventions noted in the CGI section.

You can pass any type of input file to a filter program, with the restriction that it must be a text file. Binary files will probably not work under MS-DOS-like file systems. Under Unix there is no difference between text and binary files.

This is an example of the [Filter] section:

[Filter]
    .ssi=perlssi        #  Pass *.ssi to the Perlssi filter

The [CGI] Section

This section controls the CGI protocol:

enabled
Allows you to disable CGI handling in one stroke. If this is 1, URLs that translate to a CGI are allowed. If this is 0, URLs that translate to a CGI are rejected with a code 501 (Not implemented).
Default: 1 (CGI is enabled)
workdir
Defines the directory where CGI programs will run. The web server must have write access to this directory. You can tell Xitami to always use the script directory by specifying "-". (This is useful if you put scripts in various subdirectories.) This option applies to filters too.
Default: - (script directory)
wildcard
Defines whether the CGI URL indicator ('/cgi-bin') is allowed anywhere in the URL, or only at the start. If 1, it is allowed anywhere in the URL. If 0, it may come only at the start of the URL. Note that setting this to 1 opens a significant security hole, if you also allow people to FTP files into the HTTP area. As soon as someone creates a directory called /cgi-bin, they can upload, and execute, CGI programs. In some configurations this is desirable. In other configurations (e.g. if you allow your users to upload CGI scripts, or if you do not do FTP uploads into the HTTP space) it can be desirable.
Default: 0 (/cgi-bin matches only at the start of the URL).
timeout
The maximum time, in seconds, that a CGI program may run. This option prevents looping CGI programs from blocking the server system for more than a short period. However, you will want to tune it if you run exceptionally slow CGIs, e.g. large database searches. (Which we do not recommend; you should always aim for a response time of less than 2 seconds, and 5 seconds for 'heavy' processing.) If you set this to zero, Xitami lets CGIs run for an arbitrarily long time (actually one hour) before killing them.
Default: 60
monitor
The frequency, in milliseconds, at which Xitami monitors the progress of CGI programs. If you raise this time to 500, for example, Xitami will check the CGI program's progress every 1/2 second. Anything less than 100 is not a good idea, probably, since it will slow-down the server.
Default: 200
dirlist
If 1, the server will generate a directory listing for any URL that refers to a CGI directory not containing a default file. If 0, such accesses result in a 403 Forbidden response.
Default: 0 (listings are allowed)
msdos-style
If 1, CGI programs and scripts get all filenames passed through the environment and on the command line in MS-DOS format (using backslashes); otherwise they get filenames in Unix format (using forward slashes).
Default: 0.
debug
If 1, the server creates files containing the CGI input and output streams, called tmpxxxxx.cgi and tmpxxxxx.cgo. You can use these to debug CGI programs' output.
Default: 0 (no debugging output)
stdio
If 1, the server uses standard input/output streams to pass CGI input and output data. This is suitable for languages such as C, Perl, etc. that have access to stdin and stdout streams. When using languages that cannot read from stdin or write to stdout, you must set this value to 0, and refer to the CGI_STDIN and CGI_STDOUT environment variables.
Default: 1 (use standard i/o streams).
mixed-url
If 1, allows images, HTML, and other files in the cgi-bin directory. The CGI program can refer to these using relative addressing. If 0, such files are not permitted. Note that in any case, executable files (such as Perl scripts) are always executed, never downloaded.
Default: 1 (non-executable files may be placed in /cgi-bin)
errlog
Specifies a filename for output of CGI program errors. A CGI program can send error messages to the stderr stream; these are captured in this log file.
Default: Empty (no logging of CGI errors)
environment
If 1, the CGI program gets the full web server environment, including values such as PATH. If 0, does not have access to such data. The environment data can assist a hostile attack on the host system.
Default: 1 (server environment is supplied)
http-fields
Defines whether the HTTP request header fields are passed to the CGI program or not.
Default: 1 (HTTP header fields are supplied)
http-prefix
Specifies the prefix used to identify HTTP header fields in the CGI program environment. Note that this should be different from the form-prefix, so that there is no chance of an overlap in field names. To specify 'no prefix', use http-prefix="".
Default: HTTP_
form-fields
If 1, the form data (coming from a GET or POST method) is supplied as environment variables. This can be required by some CGI programs. However, when large forms are used, this may cause the environment to be over-filled. Since the form data is also available to the CGI program on its standard input device, it can be useful to set this option to 0.
Default: 1 (form data is included in environment)
form-prefix
Specifies the prefix used to identify form data fields in the CGI program environment. To specify 'no prefix', use form-prefix="".
Default: FORM_
form-query
If 1, the form data (coming from a POST method) is supplied as the environment variable QUERY_STRING. If 0, this data is supplied as separate environment variables, and on the standard input device but not as a QUERY_STRING environment variable. Some CGI products (we know of Progress Webspeed) will barf if this is turned-on, since they do not expect input in both this string and on stdin.
Default: 0 (form data is not included in QUERY_STRING)

The [CGI-Environment] Section

This section is used to define specific CGI environment variables. Each definition is taken literally and passed to the CGI program. This can be useful when using virtual hosts. For example:

[CGI-Environment]
HOSTNAME=sales
 

The [CGI-Alias] Section

This section lets you define multiple CGI program roots. Each alias specifies a name and a path. For example:

[CGI-Alias]
demos=G:\site\demos

The alias name may contain '/'. It is not case sensitive. In A URL, the alias comes at the start, e.g.:

http://127.0.0.1/demos/calendar

The [Lrwp] Section

This section controls the LRWP (long-running web process) protocol.

enabled
Specifies whether the LRWP agent is enabled or not.
Default: 1.
port
Specifies the port on which the LRWP agent accepts connections.
Default: 81.
webmask
Specifies the webmask for LRWP clients. Normally this is restricted to local LRWP clients, but you can also construct LRWP networks from multiple servers. Use 'webmask=local' to specify just local addresses, or 'webmask=item,item,...' to specify one or more types of access. Each item allows or excludes some IP address(es): '250.12.13.*' allows matching addresses, '!250.12.13.*' excludes matching addresses (but does not allow others). '!250.12.13.*,*' excludes one set of addresses and allows all others. 'webmask=@iplist.txt' reads the list of webmasks from a text file. More information is available.
Default: local.
allow-all
Allows all LRWP clients to connect. If this is set to 1, any LRWP application will be allowed to connect. Otherwise the LRWP-Application section must be used to authorise specific applications, and optionally specify a password to use during the authentication stage.
Default: 1.

The [Lrwp-Application] Section

This section consists of one entry per application name (either URL prefix, or a URL "extension" name). The entry should either to be set to "*" to indicate the application is allowed without authentication, or to a password/phrase that is used in LRWP 2.0 authentication with that application. If a password/phrase is specified, then LRWP 1.0 clients will not be allowed to connect with that name (as they cannot perform the required authentication).

This is an example of enties in the [Lrwp-Application] section:

[LRWP-Application]
    testapp=*             # Connect without any password
    secureapp=funky161    # Connect using secure password

The [Security] Section

This section defines HTTP server security options:

filename
Specifies the Basic Authentication file.
Default: xitami.aut
password-case
If 1, passwords are case-sensitive. If 0, passwords are always converted to lower-case before validation. If you set this to 0, be sure to use lower-case passwords in the password file.
Default: 1 (case-sensitive)
dirlist
If 1, the server will generate a directory listing for any URL that refers to a directory not containing a default file. If 0, such accesses result in a 403 Forbidden response.
Default: 1 (listings are allowed)
admin
If 1, the server will allow access to the web-based administration pages (WBA). If 0, the WBA agent will not be started. This is a safe way to disable WBA access, for sites where this is not needed and poses a potential security hole.
Default: 1 (WBA is enabled)
superuser
Specifies the Superuser password. If this is "" or "-", no superuser access is allowed. Anything else is accepted as a password for all protected resources, including the online administration functions. This password overrides the webmask for any resource. So, be really careful. Okay, I warned you. (It does not override the webmask for the entire server.)
Default: "" (disabled)
safepaths
If 1, the server will refuse access to 'unsafe' URLs, which is a notion that Microsoft invented when they allowed the same file to have a short and a long filename. When this is enabled, Xitami rejects any URLs that contain a directory name which can be translated to a different long name and the user receives a 403 error message. If 0, this check is not done.
Default: 1 (security check is enabled)  
webmask
Limits the set of clients that can connect to the server. This is meant to provide an easy way of creating an internal web service. The web mask is one or more patterns, each of which specifies some valid or excluded addresses. A pattern is some IP address in string format, possibly with '*' replacing part of the end of address. For instance, the pattern '250.12.13.*' restricts access to clients with IP addresses starting with '250.12.13'. If you start a pattern with '!', the pattern excludes all clients with matching addresses. A pattern '*' matches all addresses. Use spaces and/or commas to separate patterns. The option 'webmask=local' has special meaning: it restricts access to the local system, whatever its IP address. You can't use the word 'local' in a list of webmasks.

If you want to use the same webmask set in a number of places, or if you have a long list of addresses, you can use '@filename' as the webmask. Enter the webmasks in the specified file, using whitespace or blank lines freely. If the webmask file is not present, Xitami displays an error message in its log files, and acts as if the webmask was not defined at all.

Some examples:

webmask=local            # grant access to local browsers only
webmask=192.*             # grant access to addresses 192.* only
webmask=192.*,127.0.0.1   # 192.* and local host
webmask=!192.*,*          # deny access to 192.* addresses
webmask=@iplist.txt       # read webmask from a text file
setuid
Specifies whether the server switches to a safe user id and group at startup. This only works under Unix systems. When you use this option, you can be certain that the server runs with the minimum necessary privileges.
Default: 0 (disabled)
setuid-user
When the security:setuid option is enabled, switches to this user id after opening its HTTP and FTP ports. You should ensure that the user id exists and has suitable authority to write to log files, etc.
Default: nobody
setuid-group
When the security:setuid option is enabled, switches to this group id after opening its HTTP and FTP ports. You should ensure that the group id exists and has suitable authority to write to log files, etc. If you set this option to an empty value, e.g. "", Xitami does not change the group id.
Default: nogroup
 

The [ServerLog] Section

This section controls the server error and information log:

enabled
Specifies whether server logging is enabled or not.
Default: 1 (enabled).
filename
Specifies the name of the server log file. If this value is "NULL" (spelling is important) then no log files are produced at all. This is equivalent to running Xitami in console mode with the -q option.
Default: xitami.log
cycle
Can be one of:
Default: daily.

The [AccessLog] Section

This section controls the server access log:

enabled
Specifies whether access logging is enabled or not.
Default: 1 (enabled).
filename
Specifies the name of the access log file.
Default: access.log
cycle
Can be one of:
Default: daily.
local
Specifies whether to include local addresses or not.
Default: 1 (include local addresses).

The [ErrorLog] Section

This section controls the server error log:

enabled
Specifies whether error logging is enabled or not.
Default: 1 (enabled).
filename
Specifies the name of the error log file.
Default: errors.log
cycle
Can be one of:
Default: daily.
local
Specifies whether to include local addresses or not.
Default: 1 (include local addresses).
 

The [Rdns] section

This section defines the configuration of the reverse-DNS lookups used by Xitami to translate IP addresses for its access log files.

primary-server
Defines the primary DNS server used for lookups. This value is mandatory for RDNS lookups.
Default: 127.0.0.1.
secondary server
Defines a secondary DNS server, if one is available. This will provide a backup RDNS server if the primary server does not respond.
Default: "".
recurse-lookups
Specifies whether Xitami uses recursive lookups or not. Depending on the DNS configuration, this can be faster or slower than non-recursive lookups.
Default: 1 (use recursive lookups).
debug
Specifies whether Xitami should output trace entries for its RDNS work. If 1, each RDNS lookup sends trace information to debug.log. Use this if you are having problems getting reverse-DNS lookups to work.
Default: 0 (do not debug).

The [Mime] Section

This section defines additional MIME file types; the following MIME types are defined by default (if xitami.cfg is not present):

default
Defines default MIME type for file extensions that are not otherwise defined.
Default: */*
txt
Defines MIME type for files with extension .txt.
Default: text/plain
htm
Defines MIME type for files with extension .htm.
Default: text/html
html
Defines MIME type for files with extension .html.
Default: text/html
jpg
Defines MIME type for files with extension .jpg.
Default: image/jpeg
jpeg
Defines MIME type for files with extension .jpeg.
Default: image/jpeg
gif
Defines MIME type for files with extension .gif.
Default: image/gif
doc
Defines MIME type for files with extension .doc.
Default: application/msword

You can add to, and modify, these definitions. Note that the extension and MIME type must be specified in lowercase. To specify a MIME type for files with no extension, use ".=xxx/xxx".

The [Console] Section

This section controls the browser-based admin screens.

startup
Specifies the initial screen to show; the values for this option are deliberately not documented.
Default: 1 (main page).
refresh
Specifies whether the console information screens should refresh automatically or not. This only works with browsers that support the <META HTTP-EQUIV="REFRESH"> tag. On some browsers, the refresh option can cause warning messages.
Default: 0 (refresh off).
rate
Specifies the rate at which the refresh occurs, in seconds.
Default: 10 seconds.
capture
Specifies whether console output is sent to a file or not.
Default: 1 (console output is captured).
filename
If the capture option is set, this option specifies a filename.
Default: console.log.
append
if the capture option is set, this option controls whether the console log is cleared each time the server is started, or not.
Default: 0 (console.log is cleared each time).
javascript
If 1, the WBA screens will use small amounts of JavaScript to improve the user-interface; for instance placing the cursor on the first input field automatically. If 0, JavaScript will not be used. In general enabling JavaScript will give better results.
Default: 1 (use JavaScript).
large-icons
If 1, the WBA screens will show large icons on the icon bar. If 0, they will show small icons with only images, no text labels.
Default: 1 (show large icons with text labels).

The [Win32] Section

This section controls options specific to the 32-bit Windows versions of Xitami.

16bit-cgi
Defines whether 16-bit CGIs are supported or not. If they are, all CGIs are run in a separate virtual machine. This is safe but slow. If you use only 32-bit CGIs, you can run CGIs faster by setting this option to 0.
Default: 1 (support 16-bit CGIs)
secure
If 1, the 'Stop', 'Start', and 'Terminate' buttons on the Xitami Windows control panel are disabled. This is intended for configurations where the server may only be halted by an authorised administrator, using the WBA control panel.
Default: 0 (control panel is fully enabled)
service-name
This option is used under Windows NT for the NT service version of Xitami. You can only change this by manually editing defaults.cfg; it is not shown in the WBA. Change this before installing xiwinnt. You can use this option to install multiple instances of Xitami each with a different service name and title (as defined by the win32:service-text option). You will need a separate working directory for each such Xitami service that you start.
Default: Xitami.
service-text
This option is used under Windows NT for the NT service version of Xitami. You can only change this by manually editing defaults.cfg; it is not shown in the WBA. Change this before installing xiwinnt.
Default: Xitami Web Server.

The [WSX] Section

This section is used to define web server extension (WSX) agents. A WSX agent is written using the SMT toolkit. An example of a WSX agent is the on-line administration agent. See the section on WSX development for details. Each entry in this section defines a URL prefix and an agent name. The prefix identifies all URLs passed to this agent, and consists of one or more directory names separated by '/'. These are the standard WSX agents that Xitami defines:

[WSX]
    admin=xiadmin       #   Web-based administration agent "/admin"
    error=xierror       #   Error simulation agent "/error?xxx"

You can modify this section if you want to add your own WSX agents, or disable one of the standard agents. For example, to disable the on-line administration feature, modify the above entry as follows:

[WSX]
    admin=""

| << | < | > | >>
| Welcome To Xitami | Table Of Contents | Installing Xitami | Administration | Configuration | Using The Common Gateway Interface (CGI) | Using SSI and Filters | Image Maps | Virtual Hosts | The FTP Service | A Beginner's Guide | Writing Web Server Extension (WSX) Agents | Extending Xitami with External Peer Processes | FAQ | Technical Implementation | Getting Support | Release History | License Agreement
iMatix
Copyright © 1996-99 iMatix Corporation