]> err.no Git - sope/blob - sope-appserver/NGObjWeb/Defaults.plist
changed default of WOHttpAllowHost to include .localdomain
[sope] / sope-appserver / NGObjWeb / Defaults.plist
1 {
2   NGObjWeb_doc_                         = "NSUserDefaults for NGObjWeb";
3
4   NGLogDefaultAppenderClass             = "NGLogStdoutAppender";
5   NGLogDefaultLogLevel                  = "INFO";
6   NGLogDefaultLogEventFormatterClass    = "NGLogEventDetailedFormatter";
7   WOAdaptor                             = "WOHttpAdaptor";
8   WOAdaptorLogPath                      = "";
9   WOAdditionalAdaptors                  = ( );
10   WOApplicationBaseURL                  = "/WebObjects";
11   WOApplicationSuffix                   = ".woa";
12   WOAutoOpenInBrowser                   = NO;
13   WOCGIAdaptorURL                       = "http://localhost/cgi-bin/WebObjects";
14   WOCachingEnabled                      = YES;
15   WOComponentExtensions                 = ( wo );
16   WOComponentLoadWOOFiles               = NO;
17   WOComponentRequestHandlerKey          = "wo";
18   WOCompoundElementPool                 = NO;
19   WOContactSNS                          = NO;
20   WOCoreOnApplicationException          = NO;
21   WOCoreOnAwakeComponentInCtxDealloc    = NO;
22   WOCoreOnHTTPAdaptorException          = NO;
23   WOCoreOnRecursiveSubcomponents        = NO;
24   WOCoreOnXmlRpcFault                   = NO;
25   WODebugActions                        = NO;
26   WODebugComponentAwake                 = NO;
27   WODebugComponentDefinition            = NO;
28   WODebugComponentLookup                = NO;
29   WODebugCursor                         = NO;
30   WODebugHttpTransaction                = NO;
31   WODebugKeyPathAssociation             = NO;
32   WODebugResourceLookup                 = NO;
33   WODebugStaticLinkProcessing           = NO;
34   WODebugTakeValues                     = NO;
35   WODebugZipResponse                    = NO;
36   WODebuggingEnabled                    = NO;
37   WODefaultSessionTimeOut               = 3600;
38   WODefaultLanguages = ( 
39     English, 
40     German, 
41     Danish, 
42     Dutch,
43     French, 
44     Spanish, 
45     Italian, 
46     Portuguese, 
47     ptBR
48   );
49   WODescriptiveElementIDs               = NO;
50   WODirectActionRequestHandlerKey       = "x";
51   WODontZipResponse                     = NO;
52   WOEnableComponentsWithoutClasses      = NO;
53   WOExpirationTimeInterval              = 120;
54   WOFormAlwaysPassDown                  = YES;
55   WOFrameworksBaseURL                   = "/WebObjects/Frameworks";
56   WOGenerateMissingResourceLinks        = NO;
57   WOHttpAdaptorReceiveTimeout           = 120;
58   WOHttpAdaptorSendTimeout              = 120;
59   WOHttpAdaptor_LogStream               = NO;
60   WOHttpAllowHost                       = ( 
61     "localhost", 
62     "localhost.localdomain"
63   );
64   WOHttpTransactionUseSimpleParser      = NO;
65   WOHttpTransactionLoggerConfig         = {
66     "LogLevel"  = "INFO";
67     "Appenders" = (
68         {
69             "Class"     = "NGLogStdoutAppender";
70             "Formatter" = {
71                "Class" = "NGLogEventFormatter";
72             };
73         },
74     );
75   };
76   WOIncludeCommentsInResponse           = YES;
77   WOIsRedirectionEnabled                = NO;
78   WOKeyPathAssociationsCacheSize        = 200;
79   WOListenQueueSize                     = 5;
80   WOLogComponents                       = NO;
81   WOLogDefaultsOnStartup                = NO;
82   WOLogPageCache                        = NO;
83   WOLogScriptDealloc                    = NO;
84   WOLogScriptInit                       = NO;
85   WOLogScriptKVC                        = NO;
86   WOLogXmlRpcSelectorMapping            = NO;
87   WONoProxySuffixes                     = ( );
88   WONoSelectionString                   = "WONoSelectionString";
89   WOOutputValidationEnabled             = NO;
90   WOPageCacheSize                       = 30;
91   WOPageRefreshOnBacktrack              = YES;
92   WOPageRequestHandlerDebugEnabled      = NO;
93   WOParsersUseUTF8                      = NO;
94   WOPermanentPageCacheSize              = 30;
95   WOPort                                = 20000;
96   WOProfileApplication                  = NO;
97   WOProfileComponents                   = NO;
98   WOProfileDirectActionRequestHandler   = NO;
99   WOProfileElements                     = NO;
100   WOProfileHttpAdaptor                  = NO;
101   WOProfileLoading                      = NO;
102   WOProfileResponse                     = NO;
103   WOProjectSearchPath                   = ();
104   WOResourceRequestHandlerKey           = "y";
105   WOResourceURLAssociationDebugEnabled  = NO;
106   WORunMultithreaded                    = NO;
107   WOSMTPHost                            = "mail";
108   WOSendMail                            = "/usr/lib/sendmail";
109   WOSessionStore                        = "WOServerSessionStore";
110   WOSimpleHTTPParserDebugEnabled        = NO;
111   WOSimpleHTTPParserFileIOBoundary      = 16384;
112   WOSimpleHTTPParserHeavyDebugEnabled   = NO;
113   WOSimpleHTTPParserMaxUploadSizeInKB   = 262144;
114   WOStatsStylesheetName                 = "WOStats.xsl";
115   WOUseRelativeURLs                     = YES;
116   WOUseGlobalCookiePath                 = YES;
117   WOValueAssociationsCacheSize          = 200;
118   WOWorkerThreadCount                   = 0;
119   WOxFileExtensions                     = ( wox, xtmpl, xhtml );
120   WOxElemBuilder_LogAssociationMapping  = NO;
121   WOxElemBuilder_LogAssociationCreation = NO;
122   WOxComponentElemBuilderDebugEnabled   = NO;
123   WOxLogBuilderQueue                    = NO;
124   WOxBuilderClasses = ( 
125     WOxControlElemBuilder,
126     WOxMiscElemBuilder,
127     WOxHTMLElemBuilder,
128     WOxXULElemBuilder,
129     WExCalElemBuilder,
130     WExDnDElemBuilder,
131     WExExtElemBuilder,
132     WOxExtElemBuilder,
133     WOxComponentElemBuilder
134   );
135   WOxAssociationClassMapping = {
136     "http://www.skyrix.com/od/binding"    = WOKeyPathAssociation;
137     "http://www.skyrix.com/od/constant"   = WOValueAssociation;
138     "http://www.skyrix.com/od/javascript" = WOScriptAssociation;
139     "http://www.skyrix.com/od/so-lookup"  = SoLookupAssociation;
140     "OGo:bind"                            = WOKeyPathAssociation;
141     "OGo:value"                           = WOValueAssociation;
142     "OGo:script"                          = WOScriptAssociation;
143     "OGo:url"                             = WOResourceURLAssociation;
144     "OGo:label"                           = WOLabelAssociation;
145     "OGo:path"                            = SoLookupAssociation;
146   };
147   SoClassRegistryDebugEnabled          = NO;
148   SoDebugKeyLookup                     = NO;
149   SoDebugTraversal                     = NO;
150   SoDebugProductLoading                = NO;
151   SoDebugProductRegistry               = NO;
152   SoDebugRequestClassification         = NO;
153   SoLogSecurityDeclarations            = NO;
154   SoOFSDebugFactory                    = NO;
155   SoOFSDebugPlistObject                = NO;
156   SoOFSDebugRestore                    = NO;
157   SoOFSDebugNegotiate                  = NO;
158   SoOFSDebugAuthLookup                 = NO;
159   SoOFSWebMethodDebugEnabled           = NO;
160   SoOFSResourceManagerDebugEnabled     = NO;
161   SoObjCClassDebugEnabled              = NO;
162   SoObjectDAVDispatcherDebugEnabled    = NO;
163   SoObjectXmlRpcDispatcherDebugEnabled = NO;
164   SoObjectSOAPDispatcherDebugEnabled   = NO;
165   SoObjectDataSourceDebugEnabled       = NO;
166   SoObjectRequestHandlerDebugEnabled   = NO;
167   SoObjectMethodDispatcherDebugEnabled = NO;
168   SoPageInvocationDebugEnabled         = NO;
169   SoProductResourceManagerDebugEnabled = NO;
170   SoRendererDebugEnabled               = NO;
171   SoRedirectToDefaultMethods           = YES;
172   SoSecurityManagerDebugEnabled        = NO;
173   SoPreferredNamespacePrefixes = {
174     "DAV:" = "D";
175     "http://www.skyrix.com/od/binding"            = "var";
176     "http://www.skyrix.com/od/constant"           = "const";
177     "http://www.skyrix.com/od/javascript"         = "js";
178     "http://www.w3.org/1999/xhtml"                = "html";
179     "http://www.w3.org/TR/REC-html40"             = "html4";
180     "http://www.w3.org/1999/xlink"                = "xlink";
181     "http://www.w3.org/1999/XSL/Transform"        = "xsl";
182     "http://www.w3.org/1999/02/22-rdf-syntax-ns#" = "RDF";
183     "http://www.wapforum.org/DTD/wml_1.2.xml"     = "wml";
184     "http://schemas.microsoft.com/hotmail/"       = "hm";
185     "http://schemas.microsoft.com/exchange/"      = "X";
186     "urn:schemas:contacts:"                       = "A";
187     "urn:schemas:calendar:"                       = "C";
188     "http://schemas.microsoft.com/mapi/proptag/"  = "pt";
189     "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" = "xul";
190     "http://www.ietf.org/internet-drafts/draft-ietf-calsch-many-xcal-01.txt" =
191       "xcal";
192     "http://apache.org/dav/props/" = "ap";
193     "http://webdav.org/cadaver/custom-properties/" = "cdv";
194   };
195   SoDefaultWebDAVPropertyNames = (
196     "{DAV:}creationdate",
197     "{DAV:}getcontentlength",
198     "{DAV:}getlastmodified",
199     "{DAV:}getetag",
200     "{DAV:}resourcetype",
201     "{DAV:}getcontenttype",
202     "{DAV:}displayname",
203     "{DAV:}href",
204     "{http://apache.org/dav/props/}executable"
205   );
206   SoWebDAVFormatOutput = NO;
207   DAVParserDebugProp = NO;
208
209   SoWebDAVDefaultAllowMethods = (
210     GET, HEAD, POST, OPTIONS, MKCOL, DELETE, PUT,
211     LOCK, UNLOCK, COPY, MOVE
212     /* , NOTIFY, POLL, SUBSCRIBE, UNSUBSCRIBE */
213   );
214
215   SoWebDAVDetectionMethods = (
216     OPTIONS,
217     MKCOL,
218     PROPFIND,
219     PROPPATCH,
220     DELETE,
221     PUT,
222     LOCK,
223     UNLOCK,
224     COPY,
225     MOVE,
226     
227     /* WebStore specialties */
228     SEARCH,
229     NOTIFY,
230     POLL,
231     SUBSCRIBE,
232     UNSUBSCRIBE,
233     BCOPY,
234     BDELETE,
235     BMOVE,
236     BPROPFIND,
237     BPROPPATCH
238   );
239   
240   SoRequestDispatcherRules = (
241     "result.isOFSWebMethod=1 => renderer = 'OFSWebMethodRenderer' ; very high",
242     "object.isOFSWebMethod=1 => renderer = 'SoTemplateRenderer' ; high",
243
244     "object.soClassName='OFSPropertyListObject' => renderer = 'SoTemplateRenderer' ; very high",
245
246     "object.soClassName='OFSFile'  => renderer = 'OFSFileRenderer'",
247     "object.soClassName='OFSImage' => renderer = 'OFSFileRenderer'",
248
249     "context.soRequestType='WebDAV'  => renderer = 'SoWebDAVRenderer' ; high",
250     "context.soRequestType='XML-RPC' => renderer = 'SoXmlRpcRenderer' ; high",
251     "context.soRequestType='SOAP'    => renderer = 'SoSOAPRenderer' ;   high",
252     "context.soRequestType='WCAP'    => renderer = 'SoWCAPRenderer' ;   high",
253     "*true* => renderer = 'SoDefaultRenderer' ; fallback",
254     
255     "request.isSoSOAPRequest=YES   => dispatcher = 'SoObjectSOAPDispatcher'",
256     "request.isSoWebDAVRequest=YES => dispatcher = 'SoObjectWebDAVDispatcher'",
257     "request.isSoXmlRpcRequest=YES => dispatcher = 'SoObjectXmlRpcDispatcher'",
258     "*true* => dispatcher = 'SoObjectMethodDispatcher'; fallback",
259     
260     "request.isSoSOAPRequest=YES   => requestType = 'SOAP'",
261     "request.isSoWebDAVRequest=YES => requestType = 'WebDAV'",
262     "request.isSoXmlRpcRequest=YES => requestType = 'XML-RPC'",
263     "*true*                        => requestType = 'METHOD'; fallback",
264     
265     "request.isSoWebDAVRequest=YES => useAcquisition = NO",
266     "headers.translate='f'         => useAcquisition = NO; high",
267     "method='GET'                  => useAcquisition = YES; low",
268     "method='HEAD'                 => useAcquisition = YES; low",
269     "method='POST'                 => useAcquisition = YES; low",
270     "*true*                        => useAcquisition = NO; fallback",
271   );
272 }