iTP Secure WebServer System Administrators Guide (Version 7.5+)

Table 15 Server MIME Types (continued)
MimeType image/x-xwindowdump xwd
MimeType text/html html htm
MimeType text/plain txt
MimeType text/richtext rtx
MimeType text/tab-separated-values tsv
MimeType text/x-setext etx
MimeType video/mpeg mpeg mpg mpe
MimeType video/mpeg2 mpv2
MimeType video/quicktime qt mov
MimeType video/x-msvideo avi
MimeType video/x-sgi-movie movie
#
# Everything below this point has been added for version 1.1
#
MimeType x-world/x-vrml wrl
MimeType image/png png
#
# added for XML support
#
MimeType text/xml xml XML
MimeType text/xsl xsl XSL
#
# Encoding Types (for compression)
#
#EncodingType x-gzip gz
#EncodingType x-zip-compress Z
MimeType application/x-compress Z
MimeType application/x-gzip gz
#added for javascript and css support
#
MimeType application/x-javascript js
MimeType text/css css
#
# Everything below this point has been added for version 2.0
#
MimeType audio/x-pn-realaudio ra ram
Server Class Configuration
You use theServer directive to establish the configuration of the generic-CGI server class or a
Pathway CGI server class. The configuration files shipped with the iTP Secure WebServer include
Server directives for the generic-CGI server class, the Servlet Server class (SSC), and the Antarctic
Bank demonstration application. You can change the configuration of these server classes by
changing the Server directives that define them. For example, you might want to change the
number of processes in a server class.
The following example, from the default configuration file httpd.config, defines the generic-CGI
server class with a default set of server attributes:
Server generic-cgi.pway {eval $DefaultServerAttributes}
The server class name is derived from the name in the Server directive by stripping the .pway
extension. The URL httpd://www.server.com/generic-cgi.pway becomes a generic-CGI
server class.
When adding a Pathway server class, do not use the same file name under different directories.
File names must translate to a legal server class name as follows:
The server class name is less than or equal to 15 characters.
The first character must be alphabetic.
The underscore character is invalid in a Pathway server class name.
For a detailed description of the Server directive, see “Configuration Directives” (page 198). For
specific information about defining new SSCs, see NonStop Servlets for JavaServer Pages (NSJSP)
System Administrator's Guide.
Configuring for CGI Programs 145