ppr-list-digest volume 4, number 7, message 1

Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.


From: David Chappell <David.Chappell@mail.cc.trincoll.edu>
Date: Fri, 11 Jan 2002 13:51:11 -0500
Subject: Re: PPR: Apache conf additions for web interface?

Barry Trout wrote:

> Does anyone have some docs or an example of
> the necessary Apache configuration for the web interface? 

At the momement, if you want to do anything that requires 
authentication, you have to use PPR's own web server.  If you want to 
set up Apache so that people can view queues and printer status, I have 
attached my current configuration below.

ScriptAlias /ppr/cgi-bin/ "/usr/lib/ppr/cgi-bin/"
Alias /ppr/ "/usr/share/ppr/www/"
 
<Location /ppr/>
  AllowOverride None
  Options None
  Order deny,allow
  #Deny from all
  Allow from localhost
</Location>
 
<Location /ppr/cgi-bin/>
  AllowOverride None
  Options +ExecCGI
  #AuthType Digest
  #AuthName "printing"
  #AuthDigestFile /etc/ppr/htpasswd
  #AuthDigestDomain /ppr/cgi-bin/
  #require valid-user
  Order deny,allow
  Deny from all
  Allow from localhost
</Location>


- -- 
================================================================
David Chappell			David.Chappell@Mail.Trincoll.Edu
Computing Center		Postmaster@Mail.Trincoll.Edu
Trinity College			(860) 297-2114
Hartford, Connecticut 06106
U.S.A.