# @(#)dwhttpd.cfg 1.5 07/22/96 Copyright 1996 Sun Microsystems, Inc. # this four fields need to be updated by SUNWab2u postinstall package set AB2RootDir / ;# SUNWab2r base dir set AB2VarDir /var ;# SUNWab2r base dir + var set AB2UsrDir /usr ;# SUNWab2u base dir set AB2ShareDir /usr ;# SUNWab2s base dir # *FORNOW* # use of [exec hostname] will use just the hostname in constructed URLs # hostname is good enough for use on local subnet, but not for Internet # # Note that if you use actual hostname here, you need to change the ServerHost # after sys-unconfig. # ServerHost is used by the AnswerBook2 server only when the client does # not pass host header field # set ServerHost [exec hostname] set ServerPort 8888 PidLog $AB2VarDir/log/ab2/logs/pid-$ServerPort.log MainLog $AB2VarDir/log/ab2/logs/main-$ServerPort.log Services { http-$ServerPort NSAPIProtocolModule } NSAPIProtocolModule http-$ServerPort { ServerName $ServerHost ServerUser daemon Port $ServerPort MaxThreads 32 NumRequests 1024 AccessLog $AB2VarDir/log/ab2/logs/access-$ServerPort.log ErrorLog $AB2VarDir/log/ab2/logs/errors-$ServerPort.log MimeMap $AB2UsrDir/lib/ab2/dweb/data/config/mime.types ObjectFile $AB2UsrDir/lib/ab2/dweb/data/config/nsapi.cfg DocRoot $AB2UsrDir/lib/ab2/data/docs ErrorPath $AB2UsrDir/lib/ab2/dweb/data/error }