T - thermal media type -- fix tu use ribbon
[Printer-Zebra.git] / etc / apache2 / sites-available / printer-zebra
1 # test with:
2 # wget --header='Host: printer-zebra.vbz.ffzg.hr' -O print.png 'http://10.60.0.10/print.cgi?print=1234' && qiv print.png
3 # wget --header='Host: printer-zebra.vbz.ffzg.hr' -O - 'http://10.60.0.10/status.cgi'
4
5 <VirtualHost *:80>
6         ServerName printer-zebra.vbz.ffzg.hr
7
8         # print.cgi will create this directory with correct permissions
9         DocumentRoot /tmp/zebra
10
11         ScriptAlias /print.cgi /srv/Printer-Zebra/print.cgi
12         ScriptAlias /status.cgi /srv/Printer-Zebra/status.cgi
13
14         CustomLog /var/log/koha/printer-zebra.access.log combined
15         ErrorLog /var/log/koha/printer-zebra.error.log
16
17 </VirtualHost>