Plone 4.0.4 and WebDAV

I looked at

http://plone.org/documentation/kb/webdav http://plone.org/documentation/kb/more-webdav

and Im can connect to port 1980 with a corpse (on FreeBSD).

I have a simple Plone setup for Apache using (ProxyPass and ProxyPassReverse).

So far so good. Now I would like Apache to proxy (or rewrite) WebDAV requests to the WebDAV server. Users should only see their personal “member folder” using WebDAV — not root or other member folders when using Netdrive (or other use to map a drive in file explorer).

I would be happy if someone could direct me to a simple tutorial showing rewrite rules (not ProxyPass, as I understand it) in Apache VirtualHost.

Thank. Nikolai G ..

+3
source share
1 answer

ProxyPass can work. I have some sites using ProxyPass, others - RewriteRule. The documentation under your Zope VirtualHostMonster is another good place.

Rewriting is just as easy:

<VirtualHost *:80>
    ServerName  webdav.example.ca
    ServerAlias somethingelse
    ServerAdmin email@example.ca

So, I assume that you will have a specific hostname for the DAV server - in this case webdav.example.ca.

    RewriteLogLevel 0
    RewriteEngine On

You cannot use Rewrite until you turn it on :-)

    RewriteRule ^(.*) http://localhost:1980/VirtualHostBase/http/webdav.example.ca:80/Plone/Members/VirtualHostRoot$1 [L,P]

VirtuaLHostBase - /, DAV. http/webdav.example.ca: 80 //: server: port, . Plone Plone Site. $1 (. *).

</VirtualHost>

, DAV. , :

http://localhost:1980/Plone/Members/username

:

http://localhost:1980/VirtualHostBase/http/webdav.example.ca:80/Plone/Members/VirtualHostRoot/username

:

http://webdav.example.ca:80/username

, Zope. , , .

+4

All Articles