]> err.no Git - sope/blob - sope-appserver/NGObjWeb/Defaults.plist
added 127.0.0.1 to WOHttpAllowHost
[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   WOResourceRequestHandlerKey           = "y";
107   WOResourceURLAssociationDebugEnabled  = NO;
108   WORunMultithreaded                    = NO;
109   WOSMTPHost                            = "mail";
110   WOSendMail                            = "/usr/lib/sendmail";
111   WOSessionStore                        = "WOServerSessionStore";
112   WOSimpleHTTPParserDebugEnabled        = NO;
113   WOSimpleHTTPParserFileIOBoundary      = 16384;
114   WOSimpleHTTPParserHeavyDebugEnabled   = NO;
115   WOSimpleHTTPParserMaxUploadSizeInKB   = 262144;
116   WOStatsStylesheetName                 = "WOStats.xsl";
117   WOUseRelativeURLs                     = YES;
118   WOUseGlobalCookiePath                 = YES;
119   WOValueAssociationsCacheSize          = 200;
120   WOWorkerThreadCount                   = 0;
121   WOxFileExtensions                     = ( wox, xtmpl, xhtml );
122   WOxElemBuilder_LogAssociationMapping  = NO;
123   WOxElemBuilder_LogAssociationCreation = NO;
124   WOxComponentElemBuilderDebugEnabled   = NO;
125   WOxLogBuilderQueue                    = NO;
126   WOxBuilderClasses = ( 
127     WOxControlElemBuilder,
128     WOxMiscElemBuilder,
129     WOxHTMLElemBuilder,
130     WOxXULElemBuilder,
131     WExCalElemBuilder,
132     WExDnDElemBuilder,
133     WExExtElemBuilder,
134     WOxExtElemBuilder,
135     WOxComponentElemBuilder
136   );
137   WOxAssociationClassMapping = {
138     "http://www.skyrix.com/od/binding"    = WOKeyPathAssociation;
139     "http://www.skyrix.com/od/constant"   = WOValueAssociation;
140     "http://www.skyrix.com/od/javascript" = WOScriptAssociation;
141     "http://www.skyrix.com/od/so-lookup"  = SoLookupAssociation;
142     "OGo:bind"                            = WOKeyPathAssociation;
143     "OGo:value"                           = WOValueAssociation;
144     "OGo:script"                          = WOScriptAssociation;
145     "OGo:url"                             = WOResourceURLAssociation;
146     "OGo:label"                           = WOLabelAssociation;
147     "OGo:path"                            = SoLookupAssociation;
148   };
149   SoClassRegistryDebugEnabled          = NO;
150   SoDebugKeyLookup                     = NO;
151   SoDebugTraversal                     = NO;
152   SoDebugProductLoading                = NO;
153   SoDebugProductRegistry               = NO;
154   SoDebugRequestClassification         = NO;
155   SoLogSecurityDeclarations            = NO;
156   SoOFSDebugFactory                    = NO;
157   SoOFSDebugPlistObject                = NO;
158   SoOFSDebugRestore                    = NO;
159   SoOFSDebugNegotiate                  = NO;
160   SoOFSDebugAuthLookup                 = NO;
161   SoOFSWebMethodDebugEnabled           = NO;
162   SoOFSResourceManagerDebugEnabled     = NO;
163   SoObjCClassDebugEnabled              = NO;
164   SoObjectDAVDispatcherDebugEnabled    = NO;
165   SoObjectXmlRpcDispatcherDebugEnabled = NO;
166   SoObjectSOAPDispatcherDebugEnabled   = NO;
167   SoObjectDataSourceDebugEnabled       = NO;
168   SoObjectRequestHandlerDebugEnabled   = NO;
169   SoObjectMethodDispatcherDebugEnabled = NO;
170   SoPageInvocationDebugEnabled         = NO;
171   SoProductResourceManagerDebugEnabled = NO;
172   SoRendererDebugEnabled               = NO;
173   SoRedirectToDefaultMethods           = YES;
174   SoSecurityManagerDebugEnabled        = NO;
175   SoPreferredNamespacePrefixes = {
176     "DAV:" = "D";
177     "http://www.skyrix.com/od/binding"            = "var";
178     "http://www.skyrix.com/od/constant"           = "const";
179     "http://www.skyrix.com/od/javascript"         = "js";
180     "http://www.w3.org/1999/xhtml"                = "html";
181     "http://www.w3.org/TR/REC-html40"             = "html4";
182     "http://www.w3.org/1999/xlink"                = "xlink";
183     "http://www.w3.org/1999/XSL/Transform"        = "xsl";
184     "http://www.w3.org/1999/02/22-rdf-syntax-ns#" = "RDF";
185     "http://www.wapforum.org/DTD/wml_1.2.xml"     = "wml";
186     "http://schemas.microsoft.com/hotmail/"       = "hm";
187     "http://schemas.microsoft.com/exchange/"      = "X";
188     "urn:schemas:contacts:"                       = "A";
189     "urn:schemas:calendar:"                       = "C";
190     "http://schemas.microsoft.com/mapi/proptag/"  = "pt";
191     "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" = "xul";
192     "http://www.ietf.org/internet-drafts/draft-ietf-calsch-many-xcal-01.txt" =
193       "xcal";
194     "http://apache.org/dav/props/" = "ap";
195     "http://webdav.org/cadaver/custom-properties/" = "cdv";
196   };
197   SoDefaultWebDAVPropertyNames = (
198     "{DAV:}creationdate",
199     "{DAV:}getcontentlength",
200     "{DAV:}getlastmodified",
201     "{DAV:}getetag",
202     "{DAV:}resourcetype",
203     "{DAV:}getcontenttype",
204     "{DAV:}displayname",
205     "{DAV:}href",
206     "{http://apache.org/dav/props/}executable"
207   );
208   SoWebDAVFormatOutput = NO;
209   DAVParserDebugProp = NO;
210
211   SoWebDAVDefaultAllowMethods = (
212     GET, HEAD, POST, OPTIONS, MKCOL, DELETE, PUT,
213     LOCK, UNLOCK, COPY, MOVE
214     /* , NOTIFY, POLL, SUBSCRIBE, UNSUBSCRIBE */
215   );
216
217   SoWebDAVDetectionMethods = (
218     OPTIONS,
219     MKCOL,
220     PROPFIND,
221     PROPPATCH,
222     DELETE,
223     PUT,
224     LOCK,
225     UNLOCK,
226     COPY,
227     MOVE,
228     
229     /* WebStore specialties */
230     SEARCH,
231     NOTIFY,
232     POLL,
233     SUBSCRIBE,
234     UNSUBSCRIBE,
235     BCOPY,
236     BDELETE,
237     BMOVE,
238     BPROPFIND,
239     BPROPPATCH
240   );
241   
242   SoRequestDispatcherRules = (
243     "result.isOFSWebMethod=1 => renderer = 'OFSWebMethodRenderer' ; very high",
244     "object.isOFSWebMethod=1 => renderer = 'SoTemplateRenderer' ; high",
245
246     "object.soClassName='OFSPropertyListObject' => renderer = 'SoTemplateRenderer' ; very high",
247
248     "object.soClassName='OFSFile'  => renderer = 'OFSFileRenderer'",
249     "object.soClassName='OFSImage' => renderer = 'OFSFileRenderer'",
250
251     "context.soRequestType='WebDAV'  => renderer = 'SoWebDAVRenderer' ; high",
252     "context.soRequestType='XML-RPC' => renderer = 'SoXmlRpcRenderer' ; high",
253     "context.soRequestType='SOAP'    => renderer = 'SoSOAPRenderer' ;   high",
254     "context.soRequestType='WCAP'    => renderer = 'SoWCAPRenderer' ;   high",
255     "*true* => renderer = 'SoDefaultRenderer' ; fallback",
256     
257     "request.isSoSOAPRequest=YES   => dispatcher = 'SoObjectSOAPDispatcher'",
258     "request.isSoWebDAVRequest=YES => dispatcher = 'SoObjectWebDAVDispatcher'",
259     "request.isSoXmlRpcRequest=YES => dispatcher = 'SoObjectXmlRpcDispatcher'",
260     "*true* => dispatcher = 'SoObjectMethodDispatcher'; fallback",
261     
262     "request.isSoSOAPRequest=YES   => requestType = 'SOAP'",
263     "request.isSoWebDAVRequest=YES => requestType = 'WebDAV'",
264     "request.isSoXmlRpcRequest=YES => requestType = 'XML-RPC'",
265     "*true*                        => requestType = 'METHOD'; fallback",
266     
267     "request.isSoWebDAVRequest=YES => useAcquisition = NO",
268     "headers.translate='f'         => useAcquisition = NO; high",
269     "method='GET'                  => useAcquisition = YES; low",
270     "method='HEAD'                 => useAcquisition = YES; low",
271     "method='POST'                 => useAcquisition = YES; low",
272     "*true*                        => useAcquisition = NO; fallback",
273   );
274 }