[Zope] Apache, FastCGI, SSL
Sean Slattery
sean@slattery.com
Sat, 20 Jul 2002 23:52:05 -0400
Hi all,
I'm trying to setup an Apache server to serve Zope content along with legacy
content on both http: and https:
None of the HOWTOs are exactly what I want so I have been taking bits and
pieces of several.
Right now FastCGI and my rewrite rule works famously for http:. However when
I try to access the same URL via https: I get:
======================
Forbidden
You don't have permission to access /z/ on this server.
----------------------------------------------------------------------
Apache/1.3.23 Server at 127.0.0.1 Port 443
======================
What am I missing? It's something really dumb isn't?
Apache is configured with FastCGI as a DSO, mod_ssl and mod_rewrite.
start:
#! /bin/sh
reldir=`dirname $0`
INST_HOME=`cd $reldir; pwd`
export INST_HOME
exec /usr/local/Zope-2.5.1-linux2-x86/bin/python \
$INST_HOME/z2.py -F 8999 \
-D "$@"
Relevant httpd.conf:
FastCgiIpcDir /tmp
FastCgiExternalServer /var/www/html/z/Zope.fcgi \
-host localhost:8999 -pass-header Authorization
DirectoryIndex index_html
RewriteEngine on
RewriteRule ^/z/(.*) /var/www/html/z/Zope.fcgi/$1 [L]
<Directory /var/www/html/z>
AddHandler fastcgi-script .fcgi
AllowOverride none
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
--
Thanks!
Jake Von Slatt <jake@vonslatt.com>