ppr-list-digest volume 4, number 8, message 3

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: Wed, 16 Jan 2002 13:09:41 -0600
Subject: Re: PPR: Apache conf additions for web interface?

I found reference to ppuser.allow in the docs ... still no pprprox

Barry Trout wrote:

> The Readme.txt does explain /etc/ppr/acl/ppuser.allow
>                            or  /etc/ppr/acl/pprprox.allow
>
> Can you shed some light?
>
> David Chappell wrote:
>
>> Barry Trout wrote:
>>
>>> 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?
>>
>>
>>
>> Make sure the name and permissions of the htpasswd file is correct.  
>> It is not called htaccess.
>>
>>    bash-2.04$ ls -l /etc/ppr/htpasswd
>>    -rw-r--r--    1 ppr      ppr           250 Dec 20 13:00
>>    /etc/ppr/htpasswd
>>
>> Also make sure that the 2nd field in htpasswd is "printing".
>>
>>>
>>> by the way ... does it run faster under apache?
>>
>>
>>
>> I don't know.  Someday I would like to get it working with Modperl.
>>
>>>
>>> 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>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
>