[Zope] another newbie rewrite problem

Jamie Heilman jamie@audible.transient.net
Wed, 2 Apr 2003 08:49:15 -0800


Dan Donaldson wrote:
> <VirtualHost 10.1.3.225>
> ServerName 10.1.3.225
> DocumentRoot /var/www/html
> RewriteEngine On
RewriteCond %{REQUEST_URI} /_ [OR]
RewriteCond %{REQUEST_URI} /VirtualHostBase/ [OR]
RewriteCond %{REQUEST_URI} /VirtualHostRoot/
RewriteRule .* - [F]
RewriteRule ^/Zope(.*) http://10.1.3.225:8080/VirtualHostBase/http/10.1.3.225:80/VirtualHostRoot/_vh_Zope$1 [P,L]
> </VirtualHost>

Consider running zope on 127.0.0.1:8080 once you're sure your proxy is
working.

-- 
Jamie Heilman                   http://audible.transient.net/~jamie/
"I was in love once -- a Sinclair ZX-81.  People said, "No, Holly, she's 
 not for you." She was cheap, she was stupid and she wouldn't load 
 -- well, not for me, anyway."				-Holly