[Zope-CMF] Zope behind Apache
P Kirk
patrick@enterprise-hr.com
Tue, 16 Jul 2002 13:17:24 +0100
On Tue, Jul 16, 2002 at 11:44:57AM +0100, seb bacon wrote:
>It has been decreed by ZC during previous, similar confusions that the
>canonical method is VirtualHostMonster + mod_rewrite.
>
> http://www.zope.org/Members/mwr/VHosts_With_Zope_Default
>
>seb
Trying to do that as follows. Zope is in /usr/local/zope so what do I use for MyTopLevelContentFolder?
NameVirtualHost pkirk.net.dhis.org
<VirtualHost captain.kirks.net>
ServerName captain.kirks.net
DocumentRoot /var/www
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteLog "/var/log/apache/rewrite_log"
RewriteLogLevel 1
RewriteRule ^/local/ - [L]
RewriteRule ^/icons/ - [L]
RewriteRule ^/~(.*) - [L]
RewriteRule ^/cgi-bin/ - [L]
RewriteRule ^/(.*) \
http://pkirk.net.dhis.org:9673/VirtualHostBase/http/captain.kirks.net:80/MyTopLevelContentFolder/VirtualHostRoot/$1 [P]
</IfModule>
</VirtualHost>
Thanks.