Users cannot acces sites
Resume: we had a Dell PowerApp 120 running RH 7.0, Apache 1.3.x, Zope 2.5.0 binairy release upgraded to 2.5.1 we upgraded the machine to RH 7.3 with ext3, Apache 1.3.23 build python 2.1.3 from source rpm with '%define config_tkinter 0' build zope 2.5.1 from source (NOT rpm) exported CMF-sites from old Zope, imported them in new Zope to avoid 2GB Data.fs size limit (tested succesfully :-) added rewrite rules to apache: RewriteEngine On RewriteRule ^/(.*) http://127.0.0.1:8080/VirtualHostBase/http/%{HTTP_HOST}:80/$1 [L,P] started all. Now the following happens: logging into the ZMI as manager on port 8080 : OK logging into the ZMI as manager on port 80 : OK logging into CMF site as a user on port 8080 : OK logging into CMF site as a user on port 80 : redirection to login page What did we do wrong? - - Roel Van den Bergh
You are missing the VirtualHostRoot keyword in your rewrite rule. Also note that HTTP_HOST may include the port (if it is not 80 IIRC). RewriteRule ^/(.*) \ http://127.0.0.1:8080/VirtualHostBase/http/%{HTTP_HOST}:80/VirtualHostRoot/ $1 [L,P] HTH, Stefan --On Dienstag, 10. September 2002 14:02 +0200 Roel Van den Bergh <roel@planetinterior.com> wrote:
RewriteRule ^/(.*) http://127.0.0.1:8080/VirtualHostBase/http/%{HTTP_HOST}:80/$1 [L,P] started all.
-- Those who write software only for pay should go hurt some other field. /Erik Naggum/
They both seem to work fine for some users Users who have additional Roles applied to subfolders are allowed to enter the CMF-site I have manager role in root but I'm unable to enter the CMF-sites If I login as one of the users mentioned above, logout and login as myself I can enter, but hitting a link gets me back to the login page with further access denied
-----Oorspronkelijk bericht----- Van: Stefan H. Holek [mailto:stefan@epy.co.at] Verzonden: dinsdag 10 september 2002 15:26 Aan: roel@planetinterior.com CC: Zope Org Onderwerp: Re: [Zope] Users cannot acces sites
You are missing the VirtualHostRoot keyword in your rewrite rule. Also note that HTTP_HOST may include the port (if it is not 80 IIRC).
RewriteRule ^/(.*) \ http://127.0.0.1:8080/VirtualHostBase/http/%{HTTP_HOST}:80/Virtual HostRoot/ $1 [L,P]
HTH, Stefan --On Dienstag, 10. September 2002 14:02 +0200 Roel Van den Bergh <roel@planetinterior.com> wrote:
RewriteRule ^/(.*) http://127.0.0.1:8080/VirtualHostBase/http/%{HTTP_HOST}:80/$1 [L,P] started all.
-- Those who write software only for pay should go hurt some other field. /Erik Naggum/
participants (2)
-
Roel Van den Bergh -
Stefan H. Holek