[Zope] Apache, FastCGI, SSL

Oliver Marx oliver@tekk.dk
Mon, 22 Jul 2002 10:28:20 +0200


Normally when I setup Apache for both http and https I have two
virtualhosts.

Do you have that?

\Oliver

>>-----Original Message-----
>>From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Sean
>>Slattery
>>Sent: 21. juli 2002 05:52
>>To: zope@zope.org
>>Subject: [Zope] Apache, FastCGI, SSL
>>
>>
>>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>
>>
>>
>>_______________________________________________
>>Zope maillist  -  Zope@zope.org
>>http://lists.zope.org/mailman/listinfo/zope
>>**   No cross posts or HTML encoding!  **
>>(Related lists -
>> http://lists.zope.org/mailman/listinfo/zope-announce
>> http://lists.zope.org/mailman/listinfo/zope-dev )
>>---
>>Incoming mail is certified Virus Free.
>>Checked by AVG anti-virus system (http://www.grisoft.com).
>>Version: 6.0.371 / Virus Database: 206 - Release Date: 13-06-2002
>>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.371 / Virus Database: 206 - Release Date: 13-06-2002