[Zope] Zope behind Apache

Fejes Róbert pouch@freemail.hu
Tue, 24 Jun 2003 14:18:06 +0200


Hi!

> Assuming Apache runs on the same machine as Zope: start Zope with '-a
> 127.0.0.1'. See z2.py for documentation. This can be set in 'zope.conf'=
.
Yes, Apache and Zope runs on the same PC.
I checked z2.py, yet I do not know how to modify the following
/etc/httpd/zope.conf:

RewriteEngine on

# Keep users' home dirs handled by Apache
<IfDefine ZopeKeepHomes>
 RewriteRule ^/~(.*) /~$1 [l,pt]
</IfDefine>

# and finally Zope redirection
<Directory /opt/zope/>
    Options +ExecCGI
</Directory>
RewriteCond %{HTTP:Authorization}  ^(.*)
RewriteRule ^(.*) /opt/zope/Zope.cgi$1 
[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]

It is all Greek to me.
Thank you very much in advance.
-- 
Bye: FeRó
//SuSE 8.0 - a foolproof OS