The following instructions assume that you have installed Ellogon Services, and that the services code is located in ~/ellogon-apache-services
. In case the services code is installed at a different location, the instructions must be adapted accordingly.
The directory structure
The provided Ellogon scripts for implementing HTTP REST services are organised into two directories: "server
" and "site
". The "site
" folder contains scripts that can be called by clients (are exposed through the HTTP server), such as the "test.tcl
" script, which reports the Ellogon version, and serves as a test script for the installation of the Ellogon services. On the other hand, the "server
" folder contains scripts that will be executed each time the Apache HTTP server needs to create a new Tcl interpreter, for servicing scripts written in Tcl (such as the Ellogon HTTP REST services).
Read more: Creating a Service Application