[Zope] Apache server

Jack Coates jack@monkeynoodle.org
24 Jul 2002 13:12:36 -0700


On Wed, 2002-07-24 at 12:16, Dilley, Hara wrote:
> I have an existing Apache server, and recently I installed zope without the apache configuration.  Now I realize that I would like to use some applications that are run under apache.
> What would you suggest to do, install another version of apache dedicated to zope or configure the existing one?
> where can I find out some information on things I have to watch out for either scenario
> 
> Thanks
> Hara Dilley

Just reconfigure your existing:
   <IfModule mod_rewrite.c>
        RewriteEngine on
        RewriteLog "/var/log/httpd/vhost-rewrite_log"
        RewriteLogLevel 1
        # Let Apache handle requests for non-Zope content
        RewriteRule ^/static/(.*) /var/www/vhost/$1 [L]
        RewriteRule ^/icons/(.*) - [L]
        RewriteRule ^/cgi-bin/(.*) - [L]
        RewriteRule ^/server-status/(.*) - [L]
        RewriteRule ^/manual/(.*) - [L]
        RewriteRule ^/webalizer/(.*) - [L]
        RewriteRule ^/mrtg/(.*) - [L]
        RewriteRule ^/twig/(.*) - [L]
        RewriteRule ^/adzap/(.*) - [L]
        RewriteRule ^/phpwebsite/(.*) - [L]
        RewriteRule ^/netsaint/(.*) - [L]
        # Send the worms back home
        RewriteRule ^.*\.(exe|ida|dll).* http://127.0.0.1
    </IfModule>
    <IfModule mod_proxy.c>
        ProxyPass / http://192.168.1.1:8080/mn/
        ProxyPassReverse / http://192.168.1.1:8080/mn/
        ProxyPass /misc_ http://192.168.1.1:8080/misc_
        ProxyPass /p_ http://192.168.1.1:8080/p_
    </IfModule>

-- 
Jack Coates
Monkeynoodle: A Scientific Venture...