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

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: Barry Trout <trout@abclabs.com>
Date: Fri, 11 Jan 2002 15:35:34 -0600
Subject: Re: PPR: Apache conf additions for web interface?

Thanks ...but your are right ... I would like the authenication ... but
the cookie login is not letting me in ....
I even tried to run localhost:15010 as per README still no admin rights
Is there a trick to getting the login_cookie to work

my users are in all the allow files /etc/ppr/acl/*
and in the /etc/ppr/htaccess file
but still no dice
I've tried 6.2 on Window and Linux.

can you help?

by the way ... does it run faster under apache?

David Chappell wrote:

> 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>
>
>