[Zope] zope with apache and mod_rewrite
Michel Pelletier
michel@digicool.com
Wed, 22 Sep 1999 11:07:06 -0400
Download Zap.
http://www.zope.org/Members/michel/Products/Zap
-Michel
> -----Original Message-----
> From: Andy Pahne [mailto:ap@net22.net]
> Sent: Wednesday, September 22, 1999 10:45 AM
> To: zope@zope.org
> Subject: [Zope] zope with apache and mod_rewrite
>
>
> 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
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
>
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>