How to install

To install PSP, just run the executable with administration privileges, being sure to have IIS installed on your machine. During installation, the sources are compiled to ensure maximum compatibility with the local server machine. Application data folders (e.g., for logs and temporary files) will be created in the user %APPDATA% directory. A default initialization file will also be created in this directory, so that the server administrator may modify standard configuration to her/his preferences.


The configuration file is a Prolog script named This file is loaded just before the execution of each PSP page. The administrator has full control over all standard Prolog configuration predicates (not described here). However, it is strongly suggested not to add/remove clauses to/from the user:message_hook/3 predicate. Control of message reporting can be done by setting the http_reporting prolog flag, which accepts a list of atoms indicating the types of message to be reported. For example, the following code will activate reporting of warning and error messages:

:- set_prolog_flag(http_reporting, [warning, error]).

The available message types are banner, debug(Topic), error, help, information, informational, silent, trace and warning (as defined by the built-in Prolog predicate print_message/2). The http_reporting flag is initially set to the empty list, so nothing will be reported (note that the message term will be always present in the log file). However, initially the sets the flag to [warning, error] by default.

Last update: Sun Oct 25 20:50:14 2015