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