[Zope] Zope-Apache Virtualhosting problem

Martijn Pieters mj@antraciet.nl
Fri, 01 Oct 1999 15:28:42 +0200


At 14:49 01/10/99 , Roché Compaan wrote:
>I'm trying to set up Apache and Zope with virtual hosts and I'm struggling a
>bit with the final hurdle.  I've only tried to deliver Zope pages on the one
>virtual hosts.  My entry in my apache virtual host looks like this:
>
>RewriteEngine on
>RewriteCond %{HTTP:Authorization} ^(.*)
>RewriteCond ^/Zope(*.) /home/httpd/cgi-bin/Zope.cgi/$1
>[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]

Change the last line to:

RewriteCond ^/Zope(*.) /home/httpd/cgi-bin/Zope.cgi$1
[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]

(all on one line). Note the fact I removed the slash after Zope.cgi.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------