Home directory for Malawi's wwwroot
Duncan Ewan
2021-02-19 3e758c29e0fde36fc088efcfc88f9a3014432b64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
<?xml version="1.0" encoding="UTF-8"?>
<flex-config xmlns="http://www.macromedia.com/2003/flex-config">
 
    <!-- When production-mode is true: all debugging options are set to false and
          compiler dependency check is turned off so apps will not automatically 
          be recompiled when source files are modified.
         -->
    <production-mode>false</production-mode>
 
    <!-- When production-mode=true, the debugging options are always
         false and may not be set. -->
    <debugging>
 
        <!-- allow override of values in debugging section via
             query parameter on a per-request basis, if applicable -->
        <process-debug-query-params>true</process-debug-query-params>
 
        <!-- generate swfs and swds for debugging -->
        <!-- query parameter override - ?debug=true/?debug=false -->
        <generate-debug-swfs>false</generate-debug-swfs>
 
        <!-- generate swfs and swfs for profiling -->
        <!-- query parameter override - ?asprofile=true/?asprofile=false -->
        <generate-profile-swfs>false</generate-profile-swfs>
 
        <!-- write xxx-generated.as file to disk -->
        <!-- These files are generated by the compiler during mxml translation. -->
        <keep-generated-as>false</keep-generated-as>
 
        <!-- write generated swfs/swds to disk -->
        <keep-generated-swfs>false</keep-generated-swfs>
 
        <!-- show all compiler warnings -->
        <!-- query parameter override - ?showAllWarnings=true/?showAllWarnings=false -->
        <show-all-warnings>false</show-all-warnings>
 
        <!-- When show-all-warnings is true, this value controls whether or not
             compiler override warnings are shown. When show-all-warnings is false,
             this value will have no effect. -->
        <show-override-warnings>true</show-override-warnings>
 
        <!-- Controls whether warnings are displayed when a deprecated API is used. -->
        <show-deprecation-warnings>false</show-deprecation-warnings>
 
        <!-- When show-all-warnings is true, this value controls whether or not
                     binding warnings are shown. When show-all-warnings is false,
                     this value will have no effect. -->
        <!-- query parameter override - ?showBindingWarnings=true/?showBindingWarnings=false -->
        <show-binding-warnings>true</show-binding-warnings>
 
        <!-- turn on debug to see the request and response on the server side as well
             as debug information in client side tracing -->
        <web-service-proxy-debug>false</web-service-proxy-debug>
 
        <!-- turn on debug to see the request and response on the server side -->
        <http-service-proxy-debug>false</http-service-proxy-debug>
 
        <!-- turn on debug to see the request and response on the server side as well
             as debug information in client side tracing -->
        <remote-objects-debug>false</remote-objects-debug>
 
        <!-- display stack traces in browser error messages -->
        <show-stacktraces-in-browser>false</show-stacktraces-in-browser>
 
        <!-- if true, source code context lines will be shown in the error pages -->
        <show-source-in-compiler-errors>false</show-source-in-compiler-errors>
 
        <!-- if true, compiler errors are logged to the Logger as errors -->
        <log-compiler-errors>true</log-compiler-errors>
 
        <!-- generate an xml file in the application directory summarizing compile 
             options and symbol dependencies -->
        <create-compile-report>false</create-compile-report>
 
    </debugging>
 
    <compiler>
        <!-- locations may be specified as a URL relative to the context root,
            a complete URL or an absolute file path -->
 
        <!-- location of global stylesheet -->
        <global-css-url>/WEB-INF/cfform/global.css</global-css-url>
 
        <!-- generate accessible swfs -->
        <!-- query parameter override - ?accessible=true/?accessible is false;
             this override is always available -->
        <accessible>false</accessible>
 
        <!-- the password to include in debuggable swfs -->
        <!-- default is empty-string password -->
        <debug-swf-password></debug-swf-password>
 
        <!-- generate an optimized swfs; This option is ignored when a
             debug or profile swf is generated -->
        <optimize>true</optimize>
 
        <!-- resolve the specified namespaces to their component definition file -->
        <namespaces>
            <namespace uri="http://www.macromedia.com/2003/mxml">
                <manifest>/WEB-INF/cfform/mxml-manifest.xml</manifest>
            </namespace>
        </namespaces>
 
        <!-- path locations of actionscript class files -->
        <actionscript-classpath>
            
        </actionscript-classpath>
 
        <!-- the location of the standard Flex instrinsics -->
        <!-- This value should not be modified unless you have changed
             the location of this standard Flex directory. -->
        <system-classes>/WEB-INF/cfform/system_classes</system-classes>
 
        <!-- path locations of component libraries, including
             swcs, mxml, and as components -->
        <!--
             Note: all SWCs found in the lib-path are merged together
             and resolved via priority and version.  The order is ignored.
        -->
        <!-- the standard Flex frameworks library should not be removed -->
        <lib-path>
            <path-element>/WEB-INF/cfform/frameworks</path-element>
        </lib-path>
 
        <!-- path locations of the debug version of component libraries,
             including swcs, mxml, and as components -->
        <!--
             Note: debug SWCs are ignored unless the debug flag is
             set during compilation.  When the debug flag is set,
             these libraries will be merged with the regular libraries,
             but at a higher priority level.  Mixing old debug
             libraries with new standard libraries would thus be a Bad Idea.
        -->
        <!-- the standard Flex frameworks library should not be removed -->
        <debug-lib-path>
            <path-element>/WEB-INF/cfform/frameworks_debug</path-element>
        </debug-lib-path>
 
        <!--
             When headless-server is true, the system property java.awt.headless will be set to true.
             This should be used with JDK 1.4+ on servers without graphics cards and
             monitors.  Otherwise, the property is not set.
        -->
        <headless-server>false</headless-server>
    </compiler>
 
    <cache>
        <!-- cache compiled custom components as swo files -->
        <cache-swos>true</cache-swos>
        <!-- content cache for dynamically generated SWF, SWD, and HTML -->
        <content-size>500</content-size>
        <!-- source cache for dynamically generated MXML (from JSP) -->
        <mxml-size>500</mxml-size>
        <!-- force a check for validation of page freshness every XX seconds -->
        <http-maximum-age>1</http-maximum-age>
        <!-- check for changes to dependent files on disk every XX seconds -->
        <!-- when production-mode is true, the file watcher runs once at startup -->
        <file-watcher-interval>1</file-watcher-interval>
    </cache>
 
    <flash-player>
        <!-- enable/disable player detection -->
        <enable>true</enable>
 
        <!-- require 7.0.14 -->
        <!-- required player version -->
        <required-version>7</required-version>
        <!-- 'dot' release of the required player -->
        <required-major-revision>0</required-major-revision>
        <!-- minor revision number of the required player -->
        <required-minor-revision>14</required-minor-revision>
 
        <!-- auto-install the player on windows and ie-only -->
        <!-- When windows-auto-install is true, IE will attempt to download the ActiveX player without
             user intervention.  When false, the user is directed to the download url for upgrade. -->
        <windows-auto-install>true</windows-auto-install>
        <!-- player upgrade page - users without the required Flash version will be directed here -->
        <download-url>{context.root}/cfform-internal/detection-kit/upgrade_flash/upgrade_flash.html</download-url>
        <download-https-url>{context.root}/cfform-internal/secure/detection-kit/upgrade_flash/upgrade_flash.html</download-https-url>
        <!-- activex upgrade page - the location for downloading the ActiveX player-->
        <activex-download-url>http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab</activex-download-url>
        <activex-download-https-url>https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab</activex-download-https-url>
        <!-- plugin upgrade page - the location for downloading the Plugin version of the player -->
        <plugin-download-url>http://www.macromedia.com/go/getflashplayer</plugin-download-url>
        <plugin-download-https-url>https://www.macromedia.com/go/getflashplayer</plugin-download-https-url>
    </flash-player>
 
    <web-service-proxy>
        <!-- all locations may be specified as a URL relative to the web server document root,
             or a complete http URL; to specify relative to the context root, please
             include {context.root}
             NOTE: do not use a leading slash with {context.root} -->
 
        <!-- determine whether the proxy is used or bypassed.
             client - up to the client via the useProxy attribute on the WebService, if unspecified will use the proxy
             always - always use the proxy, useProxy='false' on the WebService will generate a Warning
             never  - never use the proxy, useProxy='true' on WebService will generate a Warning
             -->
        <proxy-use-policy>client</proxy-use-policy>
 
        <!-- the web service proxy to use when calling a page over http or -->
        <!-- when protocol is specified as http -->
        <url>{context.root}/flashproxy</url>
        <!-- the web service proxy to use when calling a page over https or -->
        <!-- when protocol is specified as https -->
        <https-url>{context.root}/flashproxy</https-url>
 
        <!-- use proxy specified via flashvars or query parameter ?proxyURL=XXX -->
        <allow-url-override>false</allow-url-override>
 
        <!-- the external http proxy that all requests should go through. -->
        <!-- location is the servername and port to use as the http proxy.  -->
        <!-- username and password should only be specified when basic -->
        <!-- authentication is being used for security on the proxy. -->
        <!-- nt-domain should only be specified (along with username and password) -->
        <!-- if NTLM authentication is being used on the proxy. -->
        <!-- <external-proxy> -->
          <!-- <location>server:8080</location> -->
          <!-- <username>username</username> -->
          <!-- <password>pwd</password> -->
          <!-- <nt-domain>domain</nt-domain> -->  
        <!-- </external-proxy> -->
 
        <!-- Use a pooled connection manager that allows the given number of -->
        <!-- connections.  The default is 50.  Specify 0 to turn off this feature -->
        <!-- <max-connections>50</max-connections> -->
 
        <!-- Whether to accept self-signed certificates.  Dangerous in production -->
        <allow-lax-ssl>false</allow-lax-ssl>
 
        <!-- a list of urls accessible via this web service proxy -->
        <!-- the {localserver} token may be added in place of actual host and port number
            to ensure that services created with relative URLs are allowed -->
        <whitelist>
            <!-- config for unnamed web services -->
            <unnamed>
                <url></url>
                <!--
                For security, the whitelist is locked down by default.
                Uncomment the first two urls below to enable access to all URLs,
                or the last two urls to enable access to the local server,
                or add above the individual URLs you wish to access.
                <url>http://*</url>
                <url>https://*</url>
                <url>http://{localserver}/*</url>
                <url>https://{localserver}/*</url>
                -->
            </unnamed>
            <!-- config for named web services -->
            <!-- <named> -->
                <!-- define a web service which may be referenced by name from mxml -->
                <!-- <service name="service"> -->
                    <!-- enables use of custom fault code on the client for handling authentication failures -->
                    <!-- <use-custom-authentication>false</use-custom-authentication> -->
                    <!-- wsdl location for the named service -->
                    <!-- <wsdl>http://localhost:8100/flex/flex-proxy/servicename?wsdl</wsdl> -->
                    <!-- endpoints for the named web service -->
                    <!-- <endpoints> -->
                        <!-- actual url to use when accessing the named web service -->
                        <!-- <endpoint>http://localhost:8100/flex/flex-proxy/servicename</endpoint> -->
                    <!-- </endpoints> -->
                    <!-- user-name and password to use when accessing this web service -->
                    <!-- <run-as user="user" password="pwd"/> -->
                    <!-- Adds the service's wsdl and endpoints to the unnamed whitelist.  If false, these can never be used unnamed -->
                    <!-- This should be set to false if using web application security with this named service -->
                    <!-- <allow-unnamed-access>true</allow-unnamed-access> -->
                 <!-- </service> -->
            <!-- </named> -->
        </whitelist>
    </web-service-proxy>
 
    <http-service-proxy>
        <!-- determine whether the proxy is used or bypassed.
             client - up to the client via the useProxy attribute on the HTTPService, if unspecified will use the proxy
             always - always use the proxy, useProxy='false' on the HTTPService will generate a Warning
             never  - never use the proxy, useProxy='true' on HTTPService will generate a Warning
             -->
        <proxy-use-policy>client</proxy-use-policy>
 
        <!-- all locations may be specified as a URL relative to the web server document root,
             or a complete http URL; to specify relative to the context root, please
             include {context.root}
             NOTE: do not use a leading slash with {context.root} -->
 
        <!-- the http service proxy to use when calling a page over http or -->
        <!-- when protocol is specified as http -->
        <url>{context.root}/flashproxy</url>
        <!-- the http service proxy to use when calling a page over https or -->
        <!-- when protocol is specified as https -->
        <https-url>{context.root}/flashproxy</https-url>
 
        <!-- use proxy specified via flashvars or query parameter ?proxyURL=XXX -->
        <allow-url-override>false</allow-url-override>
 
        <!-- the external http proxy that all requests should go through. -->
        <!-- location is the servername and port to use as the http proxy.  -->
        <!-- username and password should only be specified when basic -->
        <!-- authentication is being used for security on the proxy. -->
        <!-- nt-domain should only be specified (along with username and password) -->
        <!-- if NTLM authentication is being used on the proxy. -->
        <!-- <external-proxy> -->
          <!-- <location>server:8080</location> -->
          <!-- <username>username</username> -->
          <!-- <password>pwd</password> -->
          <!-- <nt-domain>domain</nt-domain> -->  
        <!-- </external-proxy> -->
 
        <!-- Use a pooled connection manager that allows the given number of -->
        <!-- connections.  The default is 50.  Specify 0 to turn off this feature -->
        <!-- <max-connections>50</max-connections> -->
 
        <!-- Whether to accept self-signed certificates.  Dangerous in production -->
        <allow-lax-ssl>false</allow-lax-ssl>
 
        <!-- a list of urls accessible via this http service proxy -->
        <!-- the {localserver} token may be added in place of actual host and port number
            to ensure that services created with relative URLs are allowed -->
        <whitelist>
            <!-- whitelist config for unnamed services -->
            <unnamed>
                <url></url>
                <!--
                For security, the whitelist is locked down by default.
                Uncomment the first two urls below to enable access to all URLs,
                or the last two urls to enable access to the local server,
                or add above the individual URLs you wish to access.
                <url>http://*</url>
                <url>https://*</url>
                <url>http://{localserver}/*</url>
                <url>https://{localserver}/*</url>
                -->
            </unnamed>
            <!-- whitelist config for named http services -->
            <!-- <named> -->
                <!-- define an http service which may be referenced by name from mxml -->
                <!-- <service name="service"> -->
                    <!-- enables use of custom fault code on the client for handling authentication failures -->
                    <!-- <use-custom-authentication>false</use-custom-authentication> -->
                    <!-- actual url to use when accessing the named http service -->
                    <!-- <url>http://localhost:8100/flex/servicename</url> -->
                    <!-- user-name and password to use when accessing this http service -->
                    <!-- <run-as user="user" password="pwd"/> -->
                    <!-- Adds the service's url to the unnamed whitelist.  If false, these can never be used unnamed -->
                    <!-- This should be set to false if using web application security with this named service -->
                    <!-- <allow-unnamed-access>true</allow-unnamed-access> -->
                <!-- </service> -->
            <!-- </named> -->
        </whitelist>
    </http-service-proxy>
 
    <remote-objects>
        <!-- all locations may be specified as a URL relative to the web server document root,
             or a complete http URL; to specify relative to the context root, please
             include {context.root}
             NOTE: do not use a leading slash with {context.root} -->
 
        <!-- The location of the AMF Gateway. The value below is used
             when calling a page over http or when protocol is specified as http -->
        <amf-gateway>{context.root}/amfgateway</amf-gateway>
 
        <!-- The location of the AMF Gateway to use when calling a page over https
             or when protocol is specified as https -->
        <amf-https-gateway>{context.root}/amfgateway</amf-https-gateway>
 
        <!-- use proxy specified via flashvars or query parameter ?remoteURL=XXX -->
        <allow-url-override>false</allow-url-override>
 
        <!-- a list of urls accessible via this remote objects proxy -->
        <whitelist>
            <!-- whitelist config for unnamed objects -->
            <unnamed>
                <source></source>
                <!--
                For security, the whitelist is locked down by default.
 
                Uncomment the source element below to enable access to all classes
                during development.
 
                We strongly recommend not allowing access to all source files
                in production, since this exposes Java and Flex system classes.
                <source>*</source>
                -->
            </unnamed>
            <!-- whitelist config for named objects -->
            <!-- <named> -->
 
                <!-- define a remote objects which may be referenced by name from mxml -->
                <!-- <object name="myobj"> -->
                    <!-- Flex uses this name to access the object -->
                    <!-- <source>remote.DatatypesTest</source> -->
 
                    <!-- the type of the source being accessed - e.g. stateful-class or stateless-class -->
                    <!-- <type>stateless-class</type> -->
 
                    <!-- instructs the gateway to only allow authenticated users to invoke this service
                         this is required when using normal J2EE Basic authentication -->
                    <!-- <use-basic-authentication>true</use-basic-authentication> -->
 
                    <!-- informs the gateway that is should attempt to use its own custom authentication mechansim
                         as configured in the login-command section of gateway-config.xml -->
                    <!-- <use-custom-authentication>true</use-custom-authentication> -->
 
                    <!-- Adds the service's source to the unnamed whitelist.  If false, these can never be used as unnamed sources -->
                    <!-- This will be forced to false if this named object requires authentication -->
                    <!-- <allow-unnamed-access>true</allow-unnamed-access> -->
 
                    <!-- custom authorization roles can be specified when using custom authentication -->
                    <!--
                    <roles>
                        <role></role>
                    </roles>
                    -->
                <!-- </object> -->
            <!-- </named> -->
        </whitelist>
    </remote-objects>
 
    <logging>
        <!-- level of logging - error, warn, info, debug -->
        <level>info</level>
 
        <!-- console messages are logged to System.out -->
        <console>                                           
            <!-- enable/disable console logging -->
            <enable>true</enable>
        </console>
 
        <!-- file messages are logged to the specified file name -->
        <file>
            <!-- enable/disable file logging -->
            <enable>true</enable>
            <!-- log file location -->
            <!-- location may be an absolute path -->
            <!-- or, location may start with '/' and specify a virtual path which can be resolved by the getRealPath method of the ServletContext -->
            <file-name>/WEB-INF/cfform/logs/flex.log</file-name>
            <!-- maximum log file size -->
            <maximum-size>200KB</maximum-size>
            <!-- maximum number of backup log files to maintain -->
            <maximum-backups>3</maximum-backups>
        </file>
    </logging>
 
    <!-- Font caching significantly improves embedded font generation times and exists for
         the life of the server -->
    <fonts>
        <!-- Maximum number of fonts to keep in the cache -->
        <max-cached-fonts>20</max-cached-fonts>
        <!-- Controls the maximum number of character glyph-outlines to cache for each font face -->
        <max-glyphs-per-face>1000</max-glyphs-per-face>
        <managers>
            <manager-class>macromedia.fonts.JREFontManager</manager-class>
            <!-- <manager-class>macromedia.fonts.BatikFontManager</manager-class> -->
        </managers>
        <languages>
            <!-- Defines a range of unicode settings for a particular language -
            this is used to determine which characters from a font will be embedded
            in a swf -->
            <!-- The flash-unicode-table.xml file (in this directory) can be used as a reference
                for the Flash MX 2004 UnicodeTable.xml character ranges - you can copy the
                desired character mappings to this file and use them in your CSS @font-face rules -->
            <language-range>
                <lang>en</lang>
                <range>U+0020-U+007E</range>
            </language-range>
        </languages>
    </fonts>
</flex-config>