Folks,
OK, some more poking at things on my part. The problem only occurs --
but it does occur every single time -- if you use the login portlet
in the left column. It does NOT occur if you click on the login link
in the header section and log in.
If you use the portlet, checking the Apache logs reveals that Plone
is returning a 302 code to the POST:
192.168.1.2 - - [18/Apr/2006:00:19:14 -0400] "POST /login_form HTTP/
1.1" 302 23001 "http://www.ncac-cubscoutspack8.org/" "Mozilla/5.0
(Macintosh; U; PPC Mac OS X; en) AppleWebKit/418 (KHTML, like Gecko)
Safari/417.9.2"
192.168.1.2 - - [18/Apr/2006:00:19:14 -0400] "GET /virtual_hosting///?
portal_status_message=Welcome%21+You+are+now+logged+in. HTTP/1.1" 200
3082 "http://www.ncac-cubscoutspack8.org/" "Mozilla/5.0 (Macintosh;
U; PPC Mac OS X; en) AppleWebKit/418 (KHTML, like Gecko) Safari/417.9.2"
If you use the login link from the header section and login form to
log in, you get a 200 result to the POST:
192.168.1.2 - - [18/Apr/2006:00:20:56 -0400] "POST /login_form HTTP/
1.1" 200 23001 "http://www.ncac-cubscoutspack8.org/login_form"
"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418 (KHTML,
like Gecko) Safari/417.9.2"
Anybody know what's going on?
--Paul
Paul
Suh
http://www.ps-enable.com/
[EMAIL PROTECTED]
enable.com
(301) 643-1516
On Apr 17, 2006, at 5:10 PM, Paul Suh wrote:
Folks,
I'm trying to set up Plone behind an Apache 1.3 server. Plone is
running on a different machine from the actual Apache server, and I
am using VHM and proxying from httpd.conf to get the pages. Both
servers are Mac OS X Server 10.4.6, Plone is 2.1.2 with the Tyrell
installer. The proxy line I am using is:
RewriteRule ^/(.*) http://192.168.1.150:8200/
VirtualHostBase/http/www.ncac-cubscoutspack8.org:80/VirtualHostRoot/
$1 [L,P]
This works just fine for most things, but when a user logs in for
the very first time they get the Zope default page instead of the
expected Plone page. The URL bar contains:
http://www.ncac-cubscoutspack8.org/virtual_hosting///?
portal_status_message=Welcome%21+You+are+now+logged+in.
Going directly to the Plone instance at 192.68.1.150:8200 and
logging in works just fine. Behavior is the same using Safari 2,
FireFox 1.5, and IE 6.0 (Windows). The problem seems to be the
"virtual_hosting///" part of the URL -- delete that and the
expected page is returned to the browser. Also, hitting the back
button then reloading gives you the page you would expect for a
logged in user. Logging out and logging back in from the same
browser window does NOT give you the Zope page. Closing the browser
window and opening a new one then logging in results in the same
error.
If you want to try it for yourself, hit http://www.ncac-
cubscoutspack8.org/ and use the user ID and password demo/bugtest.
I am new to Plone, pretty good with Apache and Mac OS X/X Server,
but this one is a bit baffling. I tried searching gmane but nothing
seemed to turn up.
--Paul
Paul
Suh
http://www.ps-enable.com/
[EMAIL PROTECTED]
enable.com
(301) 643-1516
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup