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> The rule above gets me past the login, but none of the management screens show up. If someone could give me a hand tweaking this rule, I'd really appreciate it. Thanks, Aaron Gillette
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 -------------------------------------------------
The rule above gets me past the login, but none of the management screens show up. If someone could give me a hand tweaking this rule, I'd really appreciate it.
seb
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/>
participants (3)
-
abg@comco-inc.com -
seb bacon -
Zachery Bir