mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-23 19:51:13 +00:00
* GSWAdaptors/Apache/GNUmakefile-Apache1x: Update copyright and correct ADAPTOR variable. * GSWAdaptors/Doc/ConfigurationFile.html: Updated formatting. * GSWAdaptors/common/GSWAppConnectNSSocket.c (GSWApp_Open, GSWAppSendBlock, GSWApp_ReceiveLine, GSWApp_ReceiveBlock): Correct usage of GSWLog by addeding requiered parameter. * GSWAdaptors/common/GSWApp.[hc]: Updated copyright notice and applied some formatting. * GSWAdaptors/common/GSWAppConnect.h: Ditto. * GSWAdaptors/common/GSWAppConnectNSSocket.c: Ditto. * GSWAdaptors/common/GSWAppConnectSocket.c: Ditto. * GSWAdaptors/common/GSWAppRequest.[hc]: Ditto. * GSWAdaptors/common/GSWAppRequestStruct.h: Ditto. * GSWAdaptors/common/GSWConfig.[hc]: Ditto. * GSWAdaptors/common/GSWDict.[hc]: Ditto. * GSWAdaptors/common/GSWHTTPHeaders.[hc]: Ditto. * GSWAdaptors/common/GSWHTTPRequest.[hc]: Ditto. * GSWAdaptors/common/GSWHTTPResponse.[hc]: Ditto. * GSWAdaptors/common/GSWList.[hc]: Ditto. * GSWAdaptors/common/GSWLoadBalancing.[hc]: Ditto. * GSWAdaptors/common/GSWPropList.[hc]: Ditto. * GSWAdaptors/common/GSWString.[hc]: Ditto. * GSWAdaptors/common/GSWTemplates.[hc]: Ditto. * GSWAdaptors/common/GSWURLUtils.[hc]: Ditto. * GSWAdaptors/common/GSWUtils.[hc]: Ditto. * GSWAdaptors/common/common.make: Ditto. * GSWAdaptors/common/config.[hc]: Ditto. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@16089 72102866-910b-0410-8b05-ffd578937521
102 lines
2.4 KiB
HTML
102 lines
2.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
<html>
|
|
<head>
|
|
<title>Adaptor Configuration File</title>
|
|
</head>
|
|
|
|
<body>
|
|
Configuration file path is specified with Apache directive (/etc/httpd/conf/gsweb.conf is an exemple): <br>
|
|
<PRE>GSWeb_ConfigFilePath /etc/httpd/conf/gsweb.conf</PRE><br>
|
|
|
|
|
|
The format is GNUstep/OpenStep property list.<br>
|
|
Here is an exemple with all the possible options:<br>
|
|
|
|
<PRE>
|
|
{
|
|
//Global Parameters
|
|
canDumpStatus = YES; //YES if server can display status (URL: /GSWeb/status)
|
|
GSWExtensionsFrameworkWebServerResources =
|
|
"/GSW/GSWExtensions/WebServerResources"; // URL of GSWExtensions
|
|
// Framework
|
|
// WebServerResources directory
|
|
|
|
//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;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
//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;
|
|
|
|
//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>
|
|
</html>
|