2.2
PrintShop Web Installation Guide | 38
Documentroot
This directive sets the directory from which files will be served. Unless matched by a directive like
Alias, the server appends the path from the requested URL to the document root to make the path
to the document. The PrintShop Web website runs on localhost and all files are placed directly in the
documentroot folder.
DocumentRoot "C:/Program Files/PrintShop Web/Website"
PHP5 module
The PrintShop Web website requires the php module and must be loaded using the "LoadModule"
directive:
LoadModule php5_module "C:/Program Files/PrintShop Web/Apache/PHP/php5apache2.dll"
KeepAlive
The KeepAlive extension to HTTP/1.0 and the persistent connection feature of HTTP/1.1 provide long-
lived HTTP sessions which allow multiple requests to be sent over the same TCP connection. In some
cases this has been shown to result in an almost 50% speedup in latency times for HTML documents
with many images. For PrintShop Web this option is deactivated:
#
# KeepAlive: Whether or not to allow persistent connections
# (more than one request per connection). Set to "Off" to deactivate.
#
KeepAlive Off
Directory
In PrintShop Web the jobs-folder located within the files-folder contains job related data (e.g. upload
database files and previews). A directory tag is added to the httpd.conf of PrintShop Web to prevent
unauthorized access to these files.
<Directory> and </Directory> are used to enclose a group of directives which will apply only to the
named directory and sub-directories of that directory. Any directive which is allowed in a directory
context may be used. Directory-path is either the full path to a directory, or a wild-card string.
<Directory "C:\Program Files\PrintShop Web\Website\*">
Order Deny,Allow
Deny from All
<FilesMatch "(_init_functions.php|_poll.php|_jpg.php|_pdf.php|_popup.php|
_preflight|.js)$">
Order Deny,Allow
Allow from all
</FilesMatch>
<FilesMatch "(render_image.php|ajax_test_regex.php)$">
Order Deny,Allow
Allow from all
</FilesMatch>
<FilesMatch "(.php)$">
Order Deny,Allow
Allow from localhost
</FilesMatch>










