2000-03-16 16:16:49 +00:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
|
|
<html>
|
2003-02-28 18:37:43 +00:00
|
|
|
<head>
|
|
|
|
<title>Adaptor Configuration File</title>
|
|
|
|
</head>
|
2000-03-16 16:16:49 +00:00
|
|
|
|
2003-02-28 18:37:43 +00:00
|
|
|
<body>
|
2000-10-04 22:19:43 +00:00
|
|
|
Configuration file path is specified with Apache directive (/etc/httpd/conf/gsweb.conf is an exemple): <br>
|
2003-02-28 18:37:43 +00:00
|
|
|
<PRE>GSWeb_ConfigFilePath /etc/httpd/conf/gsweb.conf</PRE><br>
|
|
|
|
|
2000-03-16 16:16:49 +00:00
|
|
|
|
2000-10-04 22:19:43 +00:00
|
|
|
The format is GNUstep/OpenStep property list.<br>
|
|
|
|
Here is an exemple with all the possible options:<br>
|
2000-03-16 16:16:49 +00:00
|
|
|
|
|
|
|
<PRE>
|
2003-02-28 18:37:43 +00:00
|
|
|
{
|
|
|
|
//Global Parameters
|
|
|
|
canDumpStatus = YES; //YES if server can display status (URL: /GSWeb/status)
|
|
|
|
GSWExtensionsFrameworkWebServerResources =
|
|
|
|
"/GSW/GSWExtensions/WebServerResources"; // URL of GSWExtensions
|
|
|
|
// Framework
|
|
|
|
// WebServerResources directory
|
2000-03-16 16:16:49 +00:00
|
|
|
|
2003-02-28 18:37:43 +00:00
|
|
|
//List of applications
|
|
|
|
applications = {
|
|
|
|
//The 1st application: MyApp
|
|
|
|
MyApp = {
|
|
|
|
//List of its instances
|
|
|
|
instances = {
|
|
|
|
//First Instance
|
|
|
|
1 = {
|
|
|
|
host = 145.146.147.20; //Host of this instance
|
|
|
|
port = 9001; //Port of this instance
|
|
|
|
parameters = { //Unused
|
|
|
|
transport=socket;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2000-03-16 16:16:49 +00:00
|
|
|
|
2003-02-28 18:37:43 +00:00
|
|
|
//The 2nd application: AnotherOne
|
|
|
|
AnotherOne = {
|
|
|
|
|
|
|
|
// URL of GSWExtensions Framework WebServerResources directory.
|
|
|
|
// It overides Global parameter
|
|
|
|
GSWExtensionsFrameworkWebServerResources =
|
|
|
|
"/GSW/GSWExtensions/WebServerResources";
|
|
|
|
|
|
|
|
// YES to say that this application can be listed when the
|
|
|
|
// adaptor don't find an application
|
|
|
|
canDump = YES;
|
2000-03-16 16:16:49 +00:00
|
|
|
|
2003-02-28 18:37:43 +00:00
|
|
|
//Unused for the moment
|
|
|
|
applicationHeaders = {
|
|
|
|
header1 = 1264;
|
|
|
|
header2 = 4567;
|
|
|
|
};
|
|
|
|
|
|
|
|
//Instances
|
|
|
|
instances = {
|
|
|
|
//1st instance
|
|
|
|
1 = {
|
|
|
|
host = 145.146.147.20;
|
|
|
|
port = 9002;
|
|
|
|
parameters = {
|
|
|
|
transport = socket;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
MyAppVoid = {
|
|
|
|
// Here we have 3 instances
|
|
|
|
instances = {
|
|
|
|
1 = {
|
|
|
|
host = 145.146.147.20;
|
|
|
|
port = 9001;
|
|
|
|
parameters = {
|
|
|
|
transport = socket;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
2 = {
|
|
|
|
host = 145.146.147.21;
|
|
|
|
port = 9002;
|
|
|
|
parameters = {
|
|
|
|
transport=socket;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
5 = {
|
|
|
|
host = 145.146.147.22;
|
|
|
|
port = 9003;
|
|
|
|
parameters = {
|
|
|
|
transport=socket;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
</PRE>
|
|
|
|
</body>
|
2000-03-16 16:16:49 +00:00
|
|
|
</html>
|