[Zope-dev] ZServer should redirect for folder objects?

John Lim zope@mail.jleh.com
Fri, 27 Jul 2001 11:32:22 -0400


At 02:54 AM 7/26/2001, Toby Dickenson wrote:

> A better way to do this involves VirtualHostMonster. Its better
> because it takes care of <base href> absolute_url and <dtml-var BASEn>
> all in one go
>
> Put a VHM instance in your Zope root, then instead of...
>
> wget http://dev:8080/foo
>
> ....use....
>
> wget http://dev:8080/VirtualHostBase/http/productionserver:80/foo

Thanks, I've tried it -- it works, sort of. Now, since Zope prints a <BASE HREF> pointing to the production server, the mirroring client will get confused when rendering embedded links and items e.g. images since it will try to fetch it off the production server. Of course, I suppose you could force your client (wget or pavuk etc.) to ignore the <BASE HREF> or something.

And now, back to the trailing slash issue. :)

---
 John Lim