Hi,

Please let me know if this question is better posted to the Devel mailing
list, but I thought I'd ask here first.

We have a client who would like to migrate from an older WebDAV system to
ownCloud. We can migrate their files to their new ownCloud installation and
set up user accounts. However, we thought that we'd make the migration
easier by having the WebDAV URL remain the same so it doesn't have to be
adjusted in people's existing WebDAV client programs.

So, I'd like the ownCloud interface to be available as normal at, say,
owncloud.example.org. But then I'd like to have another hostname (the one
they currently use for WebDAV), say dav.example.org, set up to work just for
WebDAV. So, I'd like https://dav.example.org to point to ownCloud's WebDAV
root for use with various WebDAV clients.

I created a second apache virtualhost with the dav.example.org hostname and
then put in this rewrite rule:

RewriteRule ^(.*)$ /remote.php/webdav/$1 [PT]

However, when I connect to https://dav.example.org I get this error:
LogicException Requested uri (/) is out of base uri (/remote.php/webdav/)

When I try webdavs://dav.example.org, the request just times out.

Has anyone else tried to set up a virtual host with the WebDAV share at the
root level? What worked for you? I assume that a mod_rewrite rule should be
able to do it, but maybe there are internal ownCloud server sanity checks
that get confused by it.

Thanks in advance for any help anyone can give.

Best,
-Ian Macdonald
 GreenNet Ltd


-- 
Ian Macdonald
GreenNet, 56-64 Leonard Street, London EC2A 4LT
UK Tel:      0845 055 4011
Intl:        +44 20 7065 0935
My desk:     +44 20 3559 4011
Fax:         +44 20 7065 0936
XMPP/Jabber: [email protected]
Registered in England & Wales, Company No. 02070438

GPG Fingerprint: 0778 889F EE5D DFB4 D195 97A7 779B D6BF A305 DEFC
GPG? What is this gibberish?
  https://en.wikipedia.org/wiki/Pretty_Good_Privacy
Why bother? https://philzimmermann.com/EN/essays/WhyIWrotePGP.html
Get GnuPG and secure your email!: https://www.gnupg.org
_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to