[Zope-CMF] Login difficulties

Frank Bennett bennett@nomolog.nagoya-u.ac.jp
Fri, 19 Apr 2002 19:29:34 +0900

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:


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

<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