ISP Configuration Example
Global Configuration
# The following lines are needed if the dynamic linked version
# of heitml is used
loadmodule heitml_module .../mod_heitml_PostgreSQL.so
# Make the .hei extension known to Apache
addtype application/x-heitml hei
# set limits
heitmlTimeLimit 600
heitmlMemLimit 24
# set the session directory
heitmlSessionDir /usr/local/heitml/session
# keep the connection to the database open
heitmloptconn on
# disallow overriding of heitml options
heitmloverride off
# ensure secure mode
heitmlsecure on
# make sure that only local include directories without symlinks are allowed
heitmlincludeall off
#
heitmlDebugIp none
heitmlsecret "This should nobody know"
# specify RADpage directory
heitmlcompeditdir /usr/local/heitml/heitml2.1/control
heitmlCompeditpath /usr/local/heitml/heitml2.1/control:/usr/local/heitml/heitml2.1/lib
Virtual Host Configuration
<VirtualHost demo.h-e-i.de>
# standard Apache directives to create a virtual host
DocumentRoot /home/demo/website/docroot
ServerName localdemo.h-e-i.de
# A heitml key is required for a commercial production site
# it can be purchased from H.E.I.
# The key can be left out for evaluation use
heitmlkey ...
# Mirror the heitml documentation into the heitml2.1 directory
# of the users site try and debug however must exist for every user
Alias /heitml2.1/try /home/demo/website/docroot/heitml2.1/try
Alias /heitml2.1/debug /home/demo/website/docroot/heitml2.1/debug
Alias /heitml2.1 /usr/local/heitml/heitml2.1
# Make sure that the heitml2.1 URL delivers the right documentation for hosting
Redirect /heitml2.1/index.hei http://localdemo.h-e-i.de/heitml2.1/isp/index.hei
</VirtualHost>
Client Directory Configuration
<directory /home/demo/website/docroot>
# switch on heitml
heitml on
# Select the users database.
# For some database systems each user can have an own database
# on other systems there is one database with a different part for each user
heitmldbname DEMO
heitmluser DEMO
heitmlpasswd DEMODEMO
# Debug files should go into the Web site so that they can be viewed with a browser
heitmlDebugDir /home/demo/website/docroot/heitml2.1/debug
# include heitml libraries
heitmlInclude /usr/local/heitml/heitml2.1/control
heitmlInclude /usr/local/heitml/heitml2.1/lib
# include the layout
heitmlInclude /home/demo/website/docroot/layout
# select index file, html files have precedence
DirectoryIndex index.htm index.html index.hei
# Lock the heitml.hei file so that only the required user has access to the editor
# Note: For security reasons heitml.hei will not work properly if it is not protected
<files heitml.hei>
Require user demo
</files>
<Limit PUT DELETE>
Require user demo
</Limit>
# Apache directives for authorization
AuthName "demo's Web site maintenance"
AuthType basic
AuthUserFile /home/demo/website/passwd
</directory>
Subdirectories Configuration
<directory /home/demo/website/docroot/admin>
# The admin directory must be protected
Require user demo
heitmlinclude layout
</directory>
<directory /home/demo/website/docroot/heitml2.1>
# The heitml2.1 directory must be protected
Require user demo
</directory>
Next
|