Hi all, I'm trying to persuade our powers-that-be that a switch-over to using Zope for our website would be "a good idea". For this, the best way for me to achieve things is using Zope and the existing Apache stuff together. I've been following the guide at http://zope.org/Members/anser/apache_zserver for using Apache's Inverse Proxy ability to reach our Zope installation. However, I am having the problem that i have to log in twice to the management interface and then when i come to log out of it, i get the following error from Apache: The requested URL /manage_zmi_logout was not found on this server. I have the following in httpd.conf [changed the names to protect the server]: ProxyPass /Zope http://a.b.com:81/ ProxyPassReverse /Zope http://a.b.com:81/ ProxyPass /misc_ http://a.b.com:81/misc_ ProxyPass /p_ http://a.b.com:81/p_ I have also added the SiteRoot object in the management root. Does anybody have any idea what i might have done wrong? Is it because we are using Apache 2 [2.0.48]? Many thanks Ade
Did you take a look at the "Virtual Hosting" chapter of the Zope book? http://zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.stx Ade Fewings wrote:
Hi all,
I'm trying to persuade our powers-that-be that a switch-over to using Zope for our website would be "a good idea". For this, the best way for me to achieve things is using Zope and the existing Apache stuff together. I've been following the guide at http://zope.org/Members/anser/apache_zserver for using Apache's Inverse Proxy ability to reach our Zope installation. However, I am having the problem that i have to log in twice to the management interface and then when i come to log out of it, i get the following error from Apache:
The requested URL /manage_zmi_logout was not found on this server.
I have the following in httpd.conf [changed the names to protect the server]:
ProxyPass /Zope http://a.b.com:81/ ProxyPassReverse /Zope http://a.b.com:81/ ProxyPass /misc_ http://a.b.com:81/misc_ ProxyPass /p_ http://a.b.com:81/p_
I have also added the SiteRoot object in the management root.
Does anybody have any idea what i might have done wrong? Is it because we are using Apache 2 [2.0.48]?
Many thanks Ade
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Further to your response and a number of other responses i received, i have indeed looked at the Virtual Hosting. Unfortunately, i think i have confused myself with it........ I created the Virtual Host Monster in the root of Zope and the directory 'Zope' in there as well for our dynamic content. The following is in my httpd.conf on a.b.com: ProxyPass /Zope http://a.b.com:81/VirtualHostRoot/_vh_Zope ProxyPassReverse /Zope http://a.b.com:81/VirtualHostRoot/_vh_Zope Unfortunately, i am finding that when i then browse to http://a.b.com/Zope/manage and log in, no further traffic is going thru the Apache proxy - instead, it is going straight to a.b.com:81 and not thru Apache on a.b.com:80. What have I got confused about? Have i messed something up? Cheers Ade Peter Sabaini wrote:
Did you take a look at the "Virtual Hosting" chapter of the Zope book?
http://zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.stx
Ade Fewings wrote:
Hi all,
I'm trying to persuade our powers-that-be that a switch-over to using Zope for our website would be "a good idea". For this, the best way for me to achieve things is using Zope and the existing Apache stuff together. I've been following the guide at http://zope.org/Members/anser/apache_zserver for using Apache's Inverse Proxy ability to reach our Zope installation. However, I am having the problem that i have to log in twice to the management interface and then when i come to log out of it, i get the following error from Apache:
The requested URL /manage_zmi_logout was not found on this server.
I have the following in httpd.conf [changed the names to protect the server]:
ProxyPass /Zope http://a.b.com:81/ ProxyPassReverse /Zope http://a.b.com:81/ ProxyPass /misc_ http://a.b.com:81/misc_ ProxyPass /p_ http://a.b.com:81/p_
I have also added the SiteRoot object in the management root.
Does anybody have any idea what i might have done wrong? Is it because we are using Apache 2 [2.0.48]?
Many thanks Ade
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- ___________________________________________________ Ade Fewings MEng School of Informatics, University of Wales, Bangor, Dean Street, Bangor, Gwynedd. LL57 1UT. UK. ade@informatics.bangor.ac.uk www.informatics.bangor.ac.uk/~ade Tel: +44 (0)1248 382736 Fax: +44 (0)1248 361429 ___________________________________________________
Unfortunately, i am finding that when i then browse to http://a.b.com/Zope/manage and log in, no further traffic is going thru the Apache proxy - instead, it is going straight to a.b.com:81 and not thru Apache on a.b.com:80.
What have I got confused about? Have i messed something up?
Tried to do the same thing and ended up in the same place I figure that if zope is listening on some port then absolute_url() will give a.b.com:81 since it's listening on that port. Is it so and if so then is there a way around? Vahur
Hi, It's possible to use apache with zope without mod_proxy? The server, a cobalt raq 550, have installed apache 1.3.20 and it haven't mod_proxy.so . I don't know cobalt, i don't know where i can find this module precompiled...and i don't want recompile apache! So....what can i do? Thanks Massi
trashMan wrote at 2004-4-4 12:25 +0200:
... The server, a cobalt raq 550, have installed apache 1.3.20 and it haven't mod_proxy.so . I don't know cobalt, i don't know where i can find this module precompiled...and i don't want recompile apache! So....what can i do?
Rethink why you do not want to recompile apache... -- Dieter
TrashMan wrote:
Hi,
It's possible to use apache with zope without mod_proxy?
try using rewrite rules... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Ade Fewings wrote:
What have I got confused about? Have i messed something up?
I don't see any rewrite rules in there... I don't think I even use any proxypass statements anymore... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (7)
-
Ade Fewings -
Chris Withers -
Dieter Maurer -
Jens Vagelpohl -
Peter Sabaini -
trashMan -
Vahur Rebas