[Zope] Re: WebDAV and Virtual Hosting

Max M maxm at mxm.dk
Fri Oct 22 04:15:53 EDT 2004


Brokken, Allen P. wrote:

> I've tried a half dozen combinations of SiteRoots and Virtual Host
> monsters in various folders with various mappings.  The only way I
> actually get WebDAV clients like Macromedia Contribute to find the files
> over port 9800 is if I restructure the directory completely and change
> the apache rewrites to look like this

First of, you only need 1 VHM in an antire Zope instance. If you have 
more you have misunderstood it.

I think it's a better idea to rewrite webdav to port 80. At other ports 
your customers will most likely get problems with firewalls.

I often redirect it to an address like: http://www.somesite.com/webdav

Using rewrite rules like:

RewriteRule ^/webdav(.*) 
http://localhost:1980/VirtualHostBase/http/www.somesite.com:80/VirtualHostRoot/_vh_webdav/$1 
[P]

RewriteRule ^(.*) 
http://localhost:8080/VirtualHostBase/http/www.somesite.com:80/VirtualHostRoot/$1 
[P]



-- 

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science



More information about the Zope mailing list