[Zope] Re: [Zope-CMF] Zope behind Apache

P Kirk patrick@enterprise-hr.com
Tue, 16 Jul 2002 14:09:50 +0100


Hi Seb,

Still having probs but almost there.  My httpd.conf now reads:

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/captain/VirtualHostRoot/$1 [P]
        </IfModule>
      </VirtualHost>

lynx http://pkirk.net.dhis.org and lynx http://captain.kirks.net both
bring up Zope while lynx lynx http://localhost and lynx lynx
http://enterprise bring up Apache.

I wonder if you can see why?

Patrick