Tabellio Preview Server
=======================

SCGI server handling calls to various scripts, to provide remote support for
converting and transforming between formats.


Init script
-----------

init.d/ has init scripts both for Debian and OpenSUSE.


Apache configuration
--------------------

The mod_scgi module has to be installed, then it's a matter of configuring
a virtual host to pass requests to the SCGI server; a basic configuration
looks like this::

  <VirtualHost *:80>
    ServerName preview.tabellio.pcf.be
    DocumentRoot /opt/preview.tabellio.pcf.be/web

    CustomLog /var/log/apache2/preview.tabellio.pcf.be/access.log combined
    ErrorLog /var/log/apache2/preview.tabellio.pcf.be/error.log

    <LocationMatch "^/preview/.*">
      SCGIServer 127.0.0.1:2151
      SCGIHandler On
      SCGIServerTimeout 600
    </LocationMatch>

  </VirtualHost>
