multiple cupsd instances
mike at easysw.com
Thu Aug 11 06:34:45 PDT 2005
Peter Somogyi wrote:
> We have (still) the host virtualization problem regarding cupsd.
> (Connected topic: "cgi-bin: localhost" - but now localhost would be
> OK for us).
> Our idea is to run multiple instances of cupsd (with more separate
> httpd corresponding to them) with different port numbers. Each cupsd
> would have to read different configuration (I fear the cupsd option
> -c <cupsd.conf> may be not enough, we may need to have different
> printers.conf, classes.conf, ppd files and friends - so each cupsd
> must work with separate data). Each httpd must accept http requests
> on different ports, and forward the requests to the according cupsd's
> ipp port.
> Question #1: is it solvable? Has anybody tested it yet?
It is solvable, and will work just fine. Just locate the cupsd.conf
and associated files in different directories for each "virtual"
server and you won't have any trouble. That is, in fact, what the
"make test" target does - you can run two or more completely
different CUPS servers, even different versions, on the same
machine using separate config files & directories...
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
More information about the cups