[Zope] Getting https://..... pages to redirect to Zope
Deja User
henry_crun3583@my-deja.com
Sun, 28 Jan 2001 19:11:36 -0800
I can't get my buy page to work on Etailer
I'm not sure if it the rewrite rules in apache or the ssl setup.
It seems that the https:// request doesn't get converted to call Zope
When it tries to access
https://192.168.0.102/Kayak/kl/buy
from the browser, I get page not found.
The apache error log says "File does not exist:
/usr/local/httpd/htdocs/Kayak/kl/buy
I can change the Document root section in the ssl virtual host, and
the error remains the same (but the path changes).
The accesslog says
"POST /Kayak/kl/checkOut HTTP/1.1" <--- this worked (http)
"POST /Kayak/kl/buy HTTP/1.1" <-- this didn't (https)
The end of the httpd.conf file is:
#--------------------
RewriteLog "/var/log/httpd/rewrite_log"
RewriteEngine on
RewriteRule ^/static/(.*) /usr/local/httpd/htdocs/$1 [L]
RewriteRule ^/cgi-bin/(.*) /usr/local/httpd/cgi-bin/$1 \
[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,L]
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^/(.*) /usr/local/httpd/zope-cgi-bin/Zope.cgi/$1 \
[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,L]
#-----------------------------
Interestingly when I access https://192.168.0.102/
I get the old static web pages, so I think the rewrite rule isn't hitting the https accesses.
When I access http://192.168.0.102/ I get the Zope welcome screen
------------------------------------------------------------
--== Sent via Deja.com ==--
http://www.deja.com/