[Zope] Re: WebDAV and Virtual Hosting

Brokken, Allen P. BrokkenA at missouri.edu
Fri Oct 22 10:59:04 EDT 2004


I actually tracked this back to an issue with the Plone CMF running on
top of the site.  All of my other rewrites/VHM etc... are working as
expected.  Somewhere in the config it is setting a value "portal_url" =
<domain>/Plone.  I'm working through the Plone documentation now to find
why it's getting set by default to that.  There is a portal_url object
in all 3 main folders, I'm just not sure where to remove the default.
For some reason that variable is not being rewritten like everything
else.

I found that the "cookie crumbler" is writing portal_url before the
virtual host settings are read.  There doesn't appear to be a patch, and
it's not slated to be fixed any time soon from the bug report I found on
plone.org.  I'll just have to restructure the site.

---
Allen Brokken
IAT Services - ISAM
University of Missouri
brokkena at missouri.edu

-----Original Message-----
From: zope-bounces+brokkena=missouri.edu at zope.org
[mailto:zope-bounces+brokkena=missouri.edu at zope.org] On Behalf Of Max M
Sent: Friday, October 22, 2004 3:16 AM
To: zope at zope.org
Subject: [Zope] Re: WebDAV and Virtual Hosting

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/VirtualHo
stRoot/_vh_webdav/$1 
[P]

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



-- 

hilsen/regards Max M, Denmark

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

_______________________________________________
Zope maillist  -  Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


More information about the Zope mailing list