[Zope] zope with apache and mod_rewrite
Andy Pahne
ap@net22.net
Wed, 22 Sep 1999 16:45:18 +0200
hi there,
now i am using zope for 6 weeks (redhat-linux), i allready have built one
larger website and two projectsites with it and i am amazed.
but: i do not manage to run my apache with it. if i browse
www.myhost.com/cgi-bin/Zope.cgi
then i am into it, and i can access all the objects which are accessible for
anonymus, but authorization fails.
i followed the instructions in webserver.txt, i read jeffersons pcgi-page, i
tried engelschalls mod_rewrite-guide. at this point i am desperated.
heres my virtual host-container:
<VirtualHost 195.177.128.2>
ServerAdmin ...
ServerName www.zopetest.net22
ErrorLog logs/zopetest
CustomLog logs/zopetest common
DocumentRoot "/www/docs/zopetest/www"
<Directory "/www/docs/zopetest/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "/www/docs/zopetest/cgi-bin/"
<Directory "/www/docs/zopetest/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
RewriteEngine on
RewriteLog logs/zap_rewrite_log
RewriteLogLevel 0
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^/Zope/(.*) /www/docs/zopetest/cgi-bin/Zope.cgi/$1
[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
</VirtualHost>
who can help me out?
Andy Pahne