|
Example files
This 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.
server.properties
# Setting the extension for Helma action files:
actionExtension = .hac
# Allowing some ip addreses for web access:
allowWeb = 192.168.0.*, 194.152.169.160
# Allowing some ip addreses for xml-rpc access:
allowXmlRpc = 192.168.0.*
# Setting the directory where Helma applications reside:
appHome = /helma-1.2/apps
# Setting the location of apps.properties:
appsPropFile = /helma-1.2/propFiles
# Setting the application's base uri:
baseURI = /apps/testApp
# Setting the size of Helma's cache memory:
cachesize = 1000
# Setting the character encoding:
charset = UTF8
# Setting the country code:
country = AT
# Setting the location of database files:
dbHome = /etc/db/helma
# Enabling debugging:
debug = true
# Enabling web access to .hsp templates:
exposeTemplates = true
# Setting the Helma working directory
hopHome = /helma-1.2
# Setting the base value to create id numbers from:
idBaseValue = 5000
# Setting the language code:
language = de
# Enabling database logging
logSQL = true
# Setting the maximum number of server threads:
maxThreads = 12
# Enabling restricted web access to the Helma server:
paranoid = true
# Setting the duration after a request times out:
requestTimeout = 60
# Setting the extension of JavaScript files:
scriptExtension = .js
# Setting the duration after an inactive session times out:
sessionTimeout = 10
# Setting a smtp server:
smtp = mail.server.dom
# Setting a relational data source:
sources = mySqlDB
# Setting the extension of Helma templates:
templateExtension = .hsp
# Setting the server's timezone:
timezone = GMT
# Enabling the MinML xml parser:
xmlparser = minml
# Defining which application functions should be accessible via xml-rpc:
XmlRpcAccess = weblog.getStory, weblog.showStatus
... comment
Page last modified on 2005-12-15 20:59 by czv
|