I have found out that this bug exists only when using authentication to
protect resources using ProxyPass and ProxyPassReverse.  When I add the
following code, referencing the same password file as the proxied resources,
the www-authentication works just fine:

<Location /manual>
    order allow,deny
    allow from all
    deny from none
    AuthName "login for manuals"
    AuthType Basic
    AuthUserFile /usr/local/apache/htdocs/passwd
    Require valid-user
    satisfy all
</Location>

Again, the authuserfile is the same one referenced in the following:

<Directory proxy:*>
    order allow,deny
    allow from all
    deny from none
    AuthName "need to login"
    AuthType Basic
    AuthUserFile /usr/local/apache/htdocs/passwd
    Require valid-user
    satisfy all
</Directory>
ProxyPass /virtual1/ http://www.collegis.com/virtual1/
ProxyPassReverse /virtual1/ http://www.collegis.com/virtual1/
ProxyPass /virtual1 http://www.collegis.com/virtual1/
ProxyPassReverse /virtual1 http://www.collegis.com/virtual1
ProxyPass /virtual2/ http://www.collegis.com/virtual2/
ProxyPassReverse /virtual2/ http://www.collegis.com/virtual2/
ProxyPass /virtual2 http://www.collegis.com/virtual2/
ProxyPassReverse /virtual2 htthttp://www.collegis.com/virtual2

But authentication only works for the /manual location.  The proxy location
(/virtual1 or /virtual2) prompts for authentication, but does not properly
authenticate.  To test:

Go to http://ra.lab.collegis.com/manual and use username test1 password
test2.
Then go to http://ra.lab.collegis.com/virtual1 and use the same username /
password.

Schuyler

--------------------------
Schuyler Bishop ([EMAIL PROTECTED])
Technical Services Division     
Collegis, Inc

http://www.collegis.com         
phone: (407) 660-1199   
fax: (407) 660-8008



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 22, 2000 10:40 AM
To: [EMAIL PROTECTED]
Subject: Re: mod_proxy/5796: ProxyPass


Thank you very much for your problem report.
It has the internal identification `mod_proxy/5796'.
The individual assigned to look at your
report is: apache. 

>Category:       mod_proxy
>Responsible:    apache
>Synopsis:       ProxyPass
>Arrival-Date:   Tue Feb 22 07:40:01 PST 2000

Attachment: Schuyler Bishop.vcf
Description: Binary data

Reply via email to