Am 06.05.2012 um 19:19 schrieb Robin Appelman: > On Sunday 06 May 2012 18:39:58 Thomas Tanghus wrote: >> On Sunday 06 May 2012 17:47 Thomas Müller wrote: >>> Am 06.05.2012 um 17:20 schrieb Thomas Tanghus <[email protected]>: >>>> On Sunday 06 May 2012 09:15 Daniel wrote: >>>>> Hi all, >>>>> >>>>> I haven't been able to sync calendars with Thunderbird (SOGO Connector) >>>>> or my Android phone. I'm using the latest pull from git, and this has >>>>> been going on for about a week or so now. Previously, everything was >>>>> working great. >>>>> >>>>> When I try to add a calendar in Thunderbird, the only error I see is >>>>> from Thunderbird - nothing in Apache: >>>>> >>>>> Error code: DAV_NOT_DAV >>>>> >>>>> In Android it looks like it tries to connect to the server via a few >>>>> different URLs with no success: >>>>> >>>>> script '/var/www/owncloud/groupdav.php' not found or unable to stat >>>>> script '/var/www/owncloud/remote/webdav.php' not found or unable to >>>>> stat >>>>> script '/var/www/owncloud/apps/calendar/caldav.php' not found or unable >>>>> to stat >>>> >>>> Same goes for Kontact - or rather Akonadi. I get "An error occurred: >>>> localhost: Connection refused". >>>> >>>> The old paths /apps/calendar/caldav.php and /apps/calendar/carddav.php >>>> should maybe redirect to /remote/*.php for clients that don't support >>>> .well-known files? >>> >>> Paths are redirected - afaik in .htaccess in /apps/calendar and >>> /apps/contacts. >> >> Hmm, you're right. >> >> Some problems with that (some may be documented): >> >> - At least on *buntu apache is preconfigured not to allow .htaccess >> >> - The redirect is wrong because it presumes OC webroot == '/' My .htaccess >> has this: >> >> Redirect 301 /apps/calendar/caldav.php /remote/caldav.php >> Redirect 301 /apps/contacts/carddav.php /remote/carddav.php >> Redirect 301 /apps/files/webdav.php /remote/webdav.php >> Redirect 301 /files/webdav.php /remote/webdav.php >> >> If I change it to using: >> >> Redirect 301 /owncloud/apps/calendar/caldav.php /owncloud/remote/caldav.php >> Redirect 301 /owncloud/apps/contacts/carddav.php >> /owncloud/remote/carddav.php Redirect 301 /owncloud/apps/files/webdav.php >> /owncloud/remote/webdav.php Redirect 301 /owncloud/files/webdav.php >> /owncloud/remote/webdav.php >> >> It works OK when I set up an Akonadi resource. >> >> - I'm not sure if the RewriteRules have the same problem as I suck at >> regexps ;-) >> >>> Does /remote/caldav.php /remote/carddav.php exits? >> >> Yes. >> >>> Files do get copied there. Make sure apache has write permissipns on that >>> folder. >> >> It has - whether it's good to have yet another writable directory is another >> question. > > ownCloud should not depend on a functional .htaccess or write access to > anything except the config and data dir, isn't it easier to add a > remote/*dav.php that includes the correct dav handeler from the apps? That isn't possible when we wan't to separate apps from core. Bart is working on a remote.php so we have no other directory with write access except config and data. > > - Robin Appelman > _______________________________________________ > Owncloud mailing list > [email protected] > https://mail.kde.org/mailman/listinfo/owncloud
_______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
