2.2
PrintShop Web Installation Guide | 40
URL based skin switching
With the introduction of PrintShop Web 2.0, the web site skin can be switched by stating the design
name that can be specified per company (edit web design). By adding the design name to the URL of
the system the skin will be activated. For example: http://www.yourdomain.com/companyname.
In order to make this possible the Apache rewrite module should be loaded and a rewrite rule should
be added to the virtualhost tag in the httpd.conf of PrintShop Web for the web sites url:
<VirtualHost *:80>
RewriteEngine on
RewriteRule ^/([^/.]+)$ /site.php?company=$1 [L]
</VirtualHost>
If you want to maintain multiple domains/hostnames on your machine you can setup VirtualHost
containers for them. Most configurations use only name-based virtual hosts so the server doesn't need
to worry about IP addresses. This is indicated by the asterisks in the directives above. The number
behind the colon represent the portnumber you want to use.










