Helma Logo
main list history

Version 2 by hannes on 21. September 2009, 23:43

3<small><b>server<small>**server.properties</b></small>properties**</small>

Version 1 by zumbrunn on 18. February 2009, 21:24

1This is a real-world example for a Helma server.properties file. Note that some or most of these values may also be defined on a per-application basis in the app.properties file.
2
3<small><b>server.properties</b></small>
4
5    # Setting the extension for Helma action files:
6    actionExtension = .hac
7    
8    # Allowing some ip addreses for web access:
9    allowWeb = 192.168.0.*, 194.152.169.160
10    
11    # Allowing some ip addreses for xml-rpc access:
12    allowXmlRpc = 192.168.0.*
13    
14    # Setting the directory where Helma applications reside:
15    appHome = /helma-1.2/apps
16    
17    # Setting the location of apps.properties:
18    appsPropFile = /helma-1.2/propFiles
19    
20    # Setting the application's base uri:
21    baseURI = /apps/testApp
22    
23    # Setting the size of Helma's cache memory:
24    cachesize = 1000
25    
26    # Setting the character encoding:
27    charset = UTF8
28    
29    # Setting the country code:
30    country = AT
31    
32    # Setting the location of database files:
33    dbHome = /etc/db/helma
34    
35    # Enabling debugging:
36    debug = true
37    
38    # Enabling web access to .hsp templates:
39    exposeTemplates = true
40    
41    # Setting the Helma working directory
42    hopHome = /helma-1.2
43    
44    # Setting the base value to create id numbers from:
45    idBaseValue = 5000
46    
47    # Setting the language code:
48    language = de
49    
50    # Enabling database logging
51    logSQL = true
52    
53    # Setting the maximum number of server threads:
54    maxThreads = 12
55    
56    # Enabling restricted web access to the Helma server:
57    paranoid = true
58    
59    # Setting the duration after a request times out:
60    requestTimeout = 60
61    
62    # Setting the extension of JavaScript files:
63    scriptExtension = .js
64    
65    # Setting the duration after an inactive session times out:
66    sessionTimeout = 10
67    
68    # Setting a smtp server:
69    smtp = mail.server.dom
70    
71    # Setting a relational data source:
72    sources = mySqlDB
73    
74    # Setting the extension of Helma templates:
75    templateExtension = .hsp
76    
77    # Setting the server's timezone:
78    timezone = GMT
79    
80    # Enabling the MinML xml parser:
81    xmlparser = minml
82    
83    # Defining which application functions should be accessible via xml-rpc:
84    XmlRpcAccess = weblog.getStory, weblog.showStatus
85