[Zope] Apache/Zope/VHM/SSL

Zachery Bir zbir@urbanape.com
Wed, 6 Feb 2002 11:46:33 -0500


On Wednesday, February 6, 2002, at 11:40 , seb bacon wrote:

> On Wed, 2002-02-06 at 16:30, abg@comco-inc.com wrote:
>> I've got Apache listening on ports 80 and 443 (using mod_ssl), 
>> and Zope
>> running on port 8080. I'm using SiteAccess with Enhanced 
>> VirtualHostMonster
>> to host several sites in Zope.
>>
>> I'd like to have my Zope managers log into the ZMI using SSL, and 
>> am trying
>> to accomplish this with rewrite rules. Here's an example:
>>
>> <VirtualHost xx.xx.xxx.xxx:443>
>> SSLEngine On
>> SSLCertificateFile openssl/bin/manage.foobar.com.cert
>> SSLCertificateKeyFile openssl/bin/manage.foobar.com.key
>>     ServerName manage.foobar.com
>>     RewriteEngine On
>>     RewriteRule ^/(.*)
>> http://manage.foobar.com:8080/VirtualHostBase/http/manage.foobar.com:80/
>> Virt
>> ualHostRoot/$1 [P]
>> </VirtualHost>
>                                                                    
>     ^
> manage.foobar.com:443 -------------------------------------------------

And I've found that it still acts funky unless you specify https 
between VirtualHostBase and the FQDN.

Zachery Bir <zbir@urbanape.com>
<URL:http://www.urbanape.com/>