Best way to integrate Apache and Zope authentication realms?
Hi, I have almost all my stuff in Zope, but we have a large package written in PHP that I need to integrate into our Zope system. Our stuff is frontended with Apache using the excellent VHM and some RewriteRules. I authenticate in Zope using UserDB against a MySQL database. The authentication in the PHP package is against MySQL too. Anyone know how can I get people to authenticate using the Zope interface (ie nice login box in the page) and be able to pass the authentication information to this PHP subsystem? I've got complete control over the realms used, the Zope server, the PHP code (ah, the power!). TIA Tone. -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 243 6140 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope
Tone, Are the machine both in the ncl.ac.uk domain? I'd assume yes, since that's where you are. If so couldn't you use the same cookie to authenticate both? Maybe, possibly? btw, nice to see you active again. Phil ----- Original Message ----- From: "Tony McDonald" <tony.mcdonald@ncl.ac.uk> To: "Zope" <zope@zope.org> Sent: Wednesday, June 27, 2001 8:52 AM Subject: [Zope] Best way to integrate Apache and Zope authentication realms?
Hi, I have almost all my stuff in Zope, but we have a large package written in PHP that I need to integrate into our Zope system. Our stuff is frontended with Apache using the excellent VHM and some RewriteRules.
I authenticate in Zope using UserDB against a MySQL database. The authentication in the PHP package is against MySQL too.
Anyone know how can I get people to authenticate using the Zope interface (ie nice login box in the page) and be able to pass the authentication information to this PHP subsystem?
I've got complete control over the realms used, the Zope server, the PHP code (ah, the power!).
TIA Tone. -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 243 6140 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On 27/6/01 9:09 am, "Phil Harris" <phil.harris@zope.co.uk> wrote:
Tone,
Are the machine both in the ncl.ac.uk domain? I'd assume yes, since that's where you are.
If so couldn't you use the same cookie to authenticate both? Maybe, possibly?
btw, nice to see you active again.
Phil
Good idea - I reckon I'll set a cookie in PHP and do it that way. I've *been* active! :) (lurking and building up Zen levels on the CMF and ZPT lists mainly). Cheers Tone. -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 243 6140 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope
participants (2)
-
Phil Harris -
Tony McDonald