iTP Secure WebServer System Administrators Guide (Version 7.5+)

Table 7 Sample httpd.config File (continued)
}
################################################################
##
# Attributes for servers might be stored in a variable and then
# used later.
##
set DefaultServerAttributes {
Priority 170
Numstatic 1
Maxservers 50
Linkdepth 1
CWD $root/bin
Maxlinks 1
}
################################################################
##
# Definition of the Generic-CGI server
#
Server $root/bin/generic-cgi.pway {
eval $DefaultServerAttributes
}
################################################################
##
# Configure the httpd servers attributes
#
Server $root/bin/httpd {
eval $DefaultServerAttributes
CWD [pwd]
Arglist -server [HTTPD_CONFIG_FILE]
Env TANDEM_RECEIVE_DEPTH=50
Priority 170
Numstatic 5
Maxservers 50
MapDefine =TCPIP^RESOLVER^NAME /G/system/ztcpip/resconf
MapDefine =TCPIP^NODE^FILE /G/system/ztcpip/ipnodes
MapDefine =TCPIP^PROCESS^NAME $transport
}
################################################################
##
# Configure Resource Locator attributes
#
set rmt /bin/rmt/rmt.pway
if { [file exists $root$rmt]} {
Filemap $rmt $root$rmt
Server $root$rmt {
CWD $root/bin/rmt
eval $DefaultServerAttributes
}
RmtServer $rmt
}
################################################################
##
# End Resource Locators configuration
#
#
# Bring in any SSL/TLS related configuration information.
#
if { [file exists $root/conf/httpd.stl.config] } {
source $root/conf/httpd.stl.config
}#
# The Accept directive configures the server to accept HTTP
# connections on a specified address and port. If no port is
# specified, the default port used is 80. Note - if you use
# a port below 1024, you must start the server within the
# SUPER group.
#
Accept -transport <TRANSPORT_INFO> -port <UNSECURE_PORT_INFO>
###############################################################
96 Configuring the iTP Secure WebServer