[Zope-CMF] Login difficulties

Jens Vagelpohl jens@zope.com
Fri, 19 Apr 2002 07:44:44 -0400


if you run apache versions 1.3.23 or 1.3.24 then that is your problem. only 
real solution right now: downgrade to 1.3.22

jens


On Friday, April 19, 2002, at 06:29 , Frank Bennett wrote:

> I am new to Zope, and new to the list, so please go gently if this is a 
> FAQ.
>
> I have brought up a CMF portal site that is meant for sharing data and
> publishing results in a joint research project here.  Almost everything is
> working swimmingly, and I'm pretty excited about the possible uses for 
> Zope in
> our faculty.
>
> On the last stretch, though, I have run into a snag over logins. The Zope
> instance is running on 9673.  I have an Apache instance watching port 80,
> the relevant configuration for which is copied below.  I'm pretty sure it'
> s
> just the normal recipe for virtual hosting via Apache.  Inside Zope, I have
> a VirtualHostMonster installed at the root of the machine.
>
> The address tla.nomolog.nagoya-u.ac.jp reaches Zope CMF okay (feel free to 
> try
> it, and set up a trial account if you like, to experience the problem
> first-hand).  When contacted through the proxy, the login succeeds, but
> evaporates when any links are followed in the login page.  Lynx shows that 
> the
> second of two cookies normally received on authorization is not being 
> received
> at the browser.  Weird.
>
> However, if the machine is contacted directly on port 9673, login succeeds
> and links can be followed without losing the login identity.
>
> I found the following item on a search of Google.  The symptoms are 
> similar,
> but I can't see a permissions issue at my site.  The Manager was listed in
> acl_users only at true root, so I added a user of the same name to 
> acl_users
> in TLA and gave it Manager privileges.  I also claimed the
> cookie_authentication cookie crumbler within TLA in the name of the new
> user.  I still get the same behavior.
>
> Any clue at all what the problem might be, or what diagnostics I should
> try in order to pin this down?
>
> For reference, here's that other problem report:
>
>   http://lists.zope.org/pipermail/zope-cmf/2002-January/011303.html
>
> Yours faithfully,
> Frank Bennett
>
>
> ***
>
> LoadModule proxy_module /usr/lib/apache/1.3/libproxy.so
> [...]
> ProxyRequests On
> [...]
> NameVirtualHost mcguffin.nomolog.nagoya-u.ac.jp
>
> <VirtualHost mcguffin.nomolog.nagoya-u.ac.jp>
>   ServerAdmin bennett@nomolog.nagoya-u.ac.jp
>   ServerName mcguffin.nomolog.nagoya-u.ac.jp
>   DocumentRoot /usr/share/doc/apache/manual
>   <Directory />
>     Options Indexes FollowSymLinks MultiViews
>     AllowOverride None
>   </Directory>
> </VirtualHost>
>
> <VirtualHost tla.nomolog.nagoya-u.ac.jp>
>   ServerAdmin bennett@nomolog.nagoya-u.ac.jp
>   ServerName tla.nomolog.nagoya-u.ac.jp
>   RewriteEngine on
>   RewriteRule ^/(.*) \
>     http://localhost:9673/VirtualHostBase/http/tla.nomolog.nagoya-u.ac.jp:
> 80/TLA/VirtualHostRoot/$1 [P]
>   RewriteLog /var/log/apache_tla_rewrite.log
>   RewriteLogLevel 1
>   ErrorLog /var/log/apache_tla.log
> </VirtualHost>
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature 
> requests