If you set a non zero quota via the SMTPMax configuration primitive, PDF documents may be delivered to the users of the Alambic service by HTTP via a URL starting with URLPrefix. In order for these URLs to allow the retrieval of PDF documents, a web server such as Apache must be used. The following information tells you how to configure Apache to access documents generated by Alambic.

The PDF documents that can be retrieved by HTTP are stored in the htdocs subdirectory of the WorkDir directory. The easiest way to configure Apache to access those documents is to configure a VirtualHost that points to the proper directory. Such a configuration appears below (with URLPrefix set to http://host:port/Prefix):

<VirtualHost host:port>

ServerName host

DocumentRoot WorkDir/htdocs

Alias /Prefix	WorkDir/htdocs

<Directory "WorkDir/htdocs">
    AllowOverride None
    Options -Indexes
</Directory>

</VirtualHost>

Once the new virtual host is taken into account by your Apache web server, Alambic generated documents can be retrieved via HTTP.

The next documentation will teach you how to configure Windows clients to use Alambic printers.