[pubcookie-users] Problem with Pubcookie and zope/plone
cristopher pierson ewing
cewing at u.washington.edu
Thu Mar 29 14:18:33 PDT 2007
Nathan,
thanks for getting back. I've interleaved below for clarity
C
On Thu, 29 Mar 2007, Nathan Dors wrote:
> This scenario goes beyond my own experiences. But that doesn't stop me from
> wondering about:
>
> 1). The differences between your development and production servers. Are they
> both OS X 10.4.9, Apache 2.2, Zope/Plone x.y?
Both are OS X 10.4.9, one is a G4 desktop OS X 10.4.9, one is an intel
XServe running OS X Server 10.4.9
Apache on G5: 2.2.3 apr 1.2.7 apr-util 1.2.7 pubcookie 3.3.2
Apache on Intel: 2.2.4 apr 1.2.8 apr-util 1.2.8 pubcookie 3.3.2c
Zope/Plone/Python versions identical
>
> 2). At step 5, are you sure the error message response is coming from the
> Pubcookie.reply handler, or does it just look that way? If you watch the HTTP
> you might see that the handler has redirected you back to the Zope Management
> Interface (step 3), and that's where the error comes from. It could be
> either. I just wanted to be sure.
I can't really tell that for sure, but the URL in the address bar in my
browser is "http://my.server.edu/PubCookie.reply", and that's a URL that I
never see if things are working correctly.
> -Nathan
>
> On Thu, 29 Mar 2007, cristopher pierson ewing wrote:
>
>> I am working on setting up a server running zope/plone behind an apache
>> proxy using pubcookie for authentication. I've gotten this setup to work
>> on a development server, so I know the instructions should work, but on the
>> new server I'm running into a problem.
>>
>> My server is an Intel Mac XServe running OSX Server 10.4.9
>> I'm using Apache 2.2, and pubcookie 3.3.2c, downloaded and compiled fresh
>> on Tuesday this week (two days ago).
>>
>> Pubcookie authentication works perfectly in the simple test case of a
>> folder in my apache document root protected by .htaccess file.
>>
>> Following the instructions at http://www.washington.edu/webinfo/case/zope/
>> I have built and installed apache mod_fba as a DSO, enabled mod_fba with
>> the appropriate directives in all my <VirtualHost> sections, enabled proxy
>> with the appropriate rewrite conditions and rules in each <VirtualHost>,
>> added the appropriate RequestHeader directive to each <VirtualHost>, set up
>> Auth using <Location> sections in my main httpd.conf file, compiled and
>> installed LOGIN.c as directed, and restarted apache. I've also added a
>> CACSiteRoot to my zope instance, configured zope to accept passwordless
>> logins, and prohibited access to zope from all but the localhost.
>>
>> Interactions with the server at this point take the following course:
>> 1. I request my server's URL from some machine:
>> http://my.server.edu/
>> 2. I am served the zope introductory page, as expected
>> 3. I click on the link to the Zope Management Interface (which should be
>> pubcookie protected).
>> 4. I am forwarded to the pubcookie login page where I log in using my
>> UWNetID and password.
>> 5. The pubcookie server redirects me back to my server where I get stuck
>> on the following page request:
>> http://my.server.com/PubCookie.reply
>> and am greeted by an Internal Server Error message (HTTP 500).
>>
>> Looking into the access, error, and ssl_request logs for the server reveal
>> that it is the 'POST PubCookie.reply' request that is going awry, but there
>> are _no_ errors shown in the error log whatsoever. I am unsure of how to
>> proceed in trying to debug this.
>>
>> I've posted more about this problem to www-mgmt, the folks who maintain the
>> case study cited above, but I figured since this looks like a problem with
>> pubccookie, I might start here with trying to get some help.
>>
>> Any ideas on where to go from here?
>>
>> Thanks,
>>
>> Cris
>>
>> ********************************
>> Cris Ewing
>> CME and Telehealth Web Services
>> Department of Radiology Web Services
>> University of Washington
>> School of Medicine
>> Work Phone: (206) 685-9116
>> Home Phone: (206) 365-3413
>> E-mail: cewing at u.washington.edu
>> *******************************
>>
>> _______________________________________________
>> pubcookie-users mailing list
>> pubcookie-users at u.washington.edu
>> http://mailman1.u.washington.edu/mailman/listinfo/pubcookie-users
>>
>
More information about the pubcookie-users
mailing list