|
[Webware-checkins] CVS: Webware/WebKit/Configs AppServer.config-full,NONE,1.1.2.1
From: Jay Love <jslove@us...> - 2002-01-26 21:18
|
Update of /cvsroot/webware/Webware/WebKit/Configs
In directory usw-pr-cvs1:/tmp/cvs-serv7045
Added Files:
Tag: MultipleSerApp-1
AppServer.config-full
Log Message:
Document AppServer configuration options
--- NEW FILE: AppServer.config-full ---
{
'PrintConfigAtStartUp': 1,
'Verbose': 0,
'Host': '127.0.0.1',
'Port': 8086, ##only for backward compatibility, not used by the AppServer
'InternalPort': 26543, # a port that the AppServer can bind to and use internally
'PlugIns': [],
'PlugInDirs': ['%(WebwarePath)s'],
'StartServerThreads': 10,
'MaxServerThreads': 20,
'MinServerThreads': 5,
'CheckInterval': 500,
'Services': { #Services are classes that talk on a socket
'WebKitProtocolService': { #service name, can be anything unique
'ServicePort': 8086, ##ServicePort can be a list of ports to listen on
##The class to use, must be in a file with the same name as the class
'RequestHandlerClass': 'WebKit.WebKitRequestHandler',
'Configuration' : {
##application to use by default, not required for only one app
'DefaultApplication': 'localhost',
'Hosts': {##not required, key = HTTP_HOST, value=app name
## hostname : application to use
'localhost': 'localhost',
## 'virtual.host.org': 'testappfor_virtul.host.org',
}
}
},
'HTTPServer': { #service name, anything unique, like "BushwoodCountryClub" or "BananaInTheTailPipe"
'ServicePort': 8088,
'RequestHandlerClass': 'WebKit.HTTPRequestHandler',
'Configuration': {
## 'DefaultApplication': 'localhost',
'Hosts': {
'localhost': 'localhost',
## 'virtual.host.org': 'testappfor_virtual.host.org',
}
}
},
'Monitor': {
'ServicePort': 8091,
'RequestHandlerClass': 'WebKit.MonitorRequestHandler',
## 'Configuration': {},
},
},##END SERVICES
'Applications': { #Applications can be used by services to get the job done
'localhost': { ##application name, can be anything, referenced in the Services section above
'ApplicationClass': 'WebKit.Application', #class to use for this application
'ConfigurationFile': '/home/jslove/WWDevel/Webware/WebKit/Configs/Application.config', ##optional, configurationfile to tell the application class to use
},
# 'testappfor_virtual.host.org': { ##application name, can be anything, referenced in the Services section above
# 'ClassName': 'WebKit.Application', #class to use for this application
# 'ConfigurationFile': '/tmp/WWTestApp/Application.config', ##optional, configurationfile to tell the application class to use
# }
} ##END APPLICATIONS
}
##You must start one service
## Here's a simplified version of the new config
##{
## 'PrintConfigAtStartUp': 1,
## 'Verbose': 0,
## 'Host': '127.0.0.1',
## 'Port': 8086,
## 'InternalPort': 26543, # a port that the AppServer can bind to and use internally
## 'PlugIns': [],
## 'PlugInDirs': ['%(WebwarePath)s'],
## 'StartServerThreads': 10,
## 'MaxServerThreads': 20,
## 'MinServerThreads': 5,
## 'CheckInterval': 500,
## 'Services': { #Services are classes that talk on a socket
## 'WebKitProtocolService': { #service name, can be anything unique
## 'ServicePort': 8086,
## 'RequestHandlerClass': 'WebKit.WebKitRequestHandler', ##The class to use, must be in a file with the same name as the class
## 'Configuration' : {
## }
## }
## }, ##END SERVICES
## 'Applications': { #Applications can be used by services to get the job done
## 'localhost': { ##application name, can be anything, referenced in the Services section above
## 'ApplicationClass': 'WebKit.Application', #class to use for this application
## },
##
## } ##END APPLICATIONS
##
##} ## End Configuration
|
| Thread | Author | Date |
|---|---|---|
| [Webware-checkins] CVS: Webware/WebKit/Configs AppServer.config-full,NONE,1.1.2.1 | Jay Love <jslove@us...> |