[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Inf-IT DAVcl] 404 error when authenticating (with cross-domain)


Hi everybody,

I am trying to use CalDavZap with crossdomain.
My DaviCAL installation is located at http://davical.my.domain/.
My CalDavZap installation is located at http://appart.my.domain/caldavzap/.

I configured my Apache vhost and set the following in config.js :
var globalNetworkCheckSettings={
   href: location.protocol+'//davical.my.domain/caldav.php/',
   hrefLabel: null,
   crossDomain: true,
   additionalResources: [],
   forceReadOnly: null,
   withCredentials: false,
   showHeader: true,
   settingsAccount: true,
   checkContentType: true,
   syncInterval: 60000,
   timeOut: 30000,
   lockTimeOut: 10000,
   delegation: false,
   ignoreAlarms: false,
   backgroundCalendars: []
}

When I visit http://appart.my.domain/caldavzap/ I am prompted to enter
credentials (in an HTML form). When I enter credentials, the following
lines appear in the console (using Firefox 22.0) :
OPTIONS http://davical.my.domain/caldav.php/ [HTTP/1.1 401 Unauthorized
160ms]
Error: [netCheckAndCreateConfiguration:
'http://davical.my.domain/caldav.php/'] code: '404'

Any idea ?
Julien


Follow-Ups:
Re: [Inf-IT DAVcl] 404 error when authenticating (with cross-domain)Ján Máté <jan.mate@xxxxxxxxxx>