Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: IIS & PHP CalDav Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
TULOA
Newbie
Newbie
Avatar

Joined: 06 December 2020
Location: United States
Online Status: Offline
Posts: 3
Posted: 12 May 2021 at 12:37pm | IP Logged Quote TULOA

Has anyone that is using IIS setup and used the CalDav side?

I can only use the Caldav on android if I use the direct Caldav or CardDav links and not by the single link option.

I get this error:
<s:message>File not found: webmail in 'root'</s:message>

I assume some setting needs fixing but im not sure what.
I setup a dav folder and rewrote it to \webmail\dav.php\ with no change.
I even tried the .well-known and tried the stuff in the SabreDav page but its not helping. I would be told to set the baseURI in the settings.php but unless the command works straight like it should in the Sabredav to add I am out of ideas at present.

I can give the full log by DM because I dont want the full info posted to reveal server directories.


Here however is all that leads up to the sensative info:

2021-05-10 12:40:15 165003 [ui.setup.DavResourceFinder] Finding initial carddav service configuration 2021-05-10 12:40:15 165003 [ui.setup.DavResourceFinder] Checking user-given URL: https://tpras.com/webmail/dav.php/ 2021-05-10 12:40:15 165003 [HttpClient] --> PROPFIND https://tpras.com/webmail/dav.php/ 2021-05-10 12:40:15 165003 [HttpClient] Content-Type: application/xml; charset=utf-8 2021-05-10 12:40:15 165003 [HttpClient] Content-Length: 290 2021-05-10 12:40:15 165003 [HttpClient] Depth: 0 2021-05-10 12:40:15 165003 [HttpClient] Accept-Encoding: br,gzip 2021-05-10 12:40:15 165003 [HttpClient] 2021-05-10 12:40:15 165003 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:params:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><resourcetype /><displayname /><CARD:addressbook-description /><CARD:addressbook-home-set /><current-user-principal /></prop></propfind> 2021-05-10 12:40:15 165003 [HttpClient] --> END PROPFIND (290-byte body) 2021-05-10 12:40:16 165003 [HttpClient] <-- 207 https://tpras.com/webmail/dav.php/ (1050ms) 2021-05-10 12:40:16 165003 [HttpClient] cache-control: no-cache 2021-05-10 12:40:16 165003 [HttpClient] content-type: application/xml; charset=utf-8 2021-05-10 12:40:16 165003 [HttpClient] vary: Brief,Prefer 2021-05-10 12:40:16 165003 [HttpClient] server: Microsoft-IIS/10.0 2021-05-10 12:40:16 165003 [HttpClient] x-powered-by: PHP/7.2.2 2021-05-10 12:40:16 165003 [HttpClient] x-server: AfterlogicDAVServer 2021-05-10 12:40:16 165003 [HttpClient] dav: 1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, resource-sharing, addressbook, calendar-access, calendar-proxy, calendarserver-sharing, calendar-auto-schedule, calendar-availability, files 2021-05-10 12:40:16 165003 [HttpClient] x-powered-by: ASP.NET 2021-05-10 12:40:16 165003 [HttpClient] access-control-allow-headers: Content-Type 2021-05-10 12:40:16 165003 [HttpClient] access-control-allow-methods: GET, POST, PUT, DELETE, OPTIONS 2021-05-10 12:40:16 165003 [HttpClient] date: Mon, 10 May 2021 17:40:17 GMT 2021-05-10 12:40:16 165003 [HttpClient] content-length: 687 2021-05-10 12:40:16 165003 [HttpClient] 2021-05-10 12:40:16 165003 [HttpClient] <?xml version="1.0"?> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/"><d:response><d:href>/webmail/dav.php/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcety pe><d:current-user-principal><d:href>/webmail/dav.php/principals/tuloa@tpras.com/</d:href></d:current-user-principal></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><card:addressbook-description/><card:addressbook-home-set/></d:prop><d:status>HTTP/1 .1 404 Not Found</d:status></d:propstat></d:response></d:multistatus> 2021-05-10 12:40:16 165003 [HttpClient] <-- END HTTP (687-byte body) 2021-05-10 12:40:16 165003 [HttpClient] --> OPTIONS https://tpras.com/webmail/dav.php/principals/tuloa@tpras.com/ 2021-05-10 12:40:16 165003 [HttpClient] Content-Length: 0 2021-05-10 12:40:16 165003 [HttpClient] Accept-Encoding: br,gzip 2021-05-10 12:40:16 165003 [HttpClient] --> END OPTIONS 2021-05-10 12:40:16 165003 [HttpClient] <-- 200 https://tpras.com/webmail/dav.php/principals/tuloa@tpras.com/ (27ms) 2021-05-10 12:40:16 165003 [HttpClient] allow: OPTIONS, TRACE, GET, HEAD, POST 2021-05-10 12:40:16 165003 [HttpClient] server: Microsoft-IIS/10.0 2021-05-10 12:40:16 165003 [HttpClient] public: OPTIONS, TRACE, GET, HEAD, POST 2021-05-10 12:40:16 165003 [HttpClient] x-powered-by: ASP.NET 2021-05-10 12:40:16 165003 [HttpClient] access-control-allow-headers: Content-Type 2021-05-10 12:40:16 165003 [HttpClient] access-control-allow-methods: GET, POST, PUT, DELETE, OPTIONS 2021-05-10 12:40:16 165003 [HttpClient] date: Mon, 10 May 2021 17:40:17 GMT 2021-05-10 12:40:16 165003 [HttpClient] content-length: 0 2021-05-10 12:40:16 165003 [HttpClient] <-- END HTTP (0-byte body) 2021-05-10 12:40:16 165003 [HttpClient] --> PROPFIND https://tpras.com/.well-known/carddav 2021-05-10 12:40:16 165003 [HttpClient] Content-Type: application/xml; charset=utf-8 2021-05-10 12:40:16 165003 [HttpClient] Content-Length: 198 2021-05-10 12:40:16 165003 [HttpClient] Depth: 0 2021-05-10 12:40:16 165003 [HttpClient] Accept-Encoding: br,gzip 2021-05-10 12:40:16 165003 [HttpClient] 2021-05-10 12:40:16 165003 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:params:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><current-user-principal /></prop></propfind> 2021-05-10 12:40:16 165003 [HttpClient] --> END PROPFIND (198-byte body) 2021-05-10 12:40:16 165003 [HttpClient] <-- 301 https://tpras.com/.well-known/carddav (28ms) 2021-05-10 12:40:16 165003 [HttpClient] content-type: text/html; charset=UTF-8 2021-05-10 12:40:16 165003 [HttpClient] location: https://tpras.com/webmail/dav.php 2021-05-10 12:40:16 165003 [HttpClient] server: Microsoft-IIS/10.0 2021-05-10 12:40:16 165003 [HttpClient] x-powered-by: ASP.NET 2021-05-10 12:40:16 165003 [HttpClient] access-control-allow-headers: Content-Type 2021-05-10 12:40:16 165003 [HttpClient] access-control-allow-methods: GET, POST, PUT, DELETE, OPTIONS 2021-05-10 12:40:16 165003 [HttpClient] date: Mon, 10 May 2021 17:40:17 GMT 2021-05-10 12:40:16 165003 [HttpClient] content-length: 156 2021-05-10 12:40:16 165003 [HttpClient] 2021-05-10 12:40:16 165003 [HttpClient] <head><title>Document Moved</title></head> <body><h1>Object Moved</h1>This document may be found <a HREF="https://tpras.com/webmail/dav.php">here</a></body> 2021-05-10 12:40:16 165003 [HttpClient] <-- END HTTP (156-byte body) 2021-05-10 12:40:16 165003 [at.bitfire.dav4jvm.DavResource] Redirected, new location = https://tpras.com/webmail/dav.php 2021-05-10 12:40:16 165003 [HttpClient] --> PROPFIND https://tpras.com/webmail/dav.php 2021-05-10 12:40:16 165003 [HttpClient] Content-Type: application/xml; charset=utf-8 2021-05-10 12:40:16 165003 [HttpClient] Content-Length: 198 2021-05-10 12:40:16 165003 [HttpClient] Depth: 0 2021-05-10 12:40:16 165003 [HttpClient] Accept-Encoding: br,gzip 2021-05-10 12:40:16 165003 [HttpClient] 2021-05-10 12:40:16 165003 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:params:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><current-user-principal /></prop></propfind> 2021-05-10 12:40:16 165003 [HttpClient] --> END PROPFIND (198-byte body) 2021-05-10 12:40:17 165003 [HttpClient] <-- 404 https://tpras.com/webmail/dav.php (446ms) 2021-05-10 12:40:17 165003 [HttpClient] cache-control: no-cache 2021-05-10 12:40:17 165003 [HttpClient] content-type: application/xml; charset=utf-8 2021-05-10 12:40:17 165003 [HttpClient] vary: Brief,Prefer 2021-05-10 12:40:17 165003 [HttpClient] server: Microsoft-IIS/10.0 2021-05-10 12:40:17 165003 [HttpClient] x-powered-by: PHP/7.2.2 2021-05-10 12:40:17 165003 [HttpClient] x-server: AfterlogicDAVServer 2021-05-10 12:40:17 165003 [HttpClient] dav: 1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, resource-sharing, addressbook, calendar-access, calendar-proxy, calendarserver-sharing, calendar-auto-schedule, calendar-availability, files 2021-05-10 12:40:17 165003 [HttpClient] x-powered-by: ASP.NET 2021-05-10 12:40:17 165003 [HttpClient] access-control-allow-headers: Content-Type 2021-05-10 12:40:17 165003 [HttpClient] access-control-allow-methods: GET, POST, PUT, DELETE, OPTIONS 2021-05-10 12:40:17 165003 [HttpClient] date: Mon, 10 May 2021 17:40:17 GMT 2021-05-10 12:40:17 165003 [HttpClient] content-length: 1658 2021-05-10 12:40:17 165003 [HttpClient] 2021-05-10 12:40:17 165003 [HttpClient] <?xml version="1.0" encoding="utf-8"?> <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> <s:exception>Sabre\DAV\Exception\NotFound</s:exception> <s:message>File not found: webmail in 'root'</s:message>
Back to Top View TULOA's Profile Search for other posts by TULOA
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 13 May 2021 at 12:14am | IP Logged Quote Igor

Hello,

Not sure what DAV client you're using on Android, but we're wondering if it works for you if you open DAV URL in web browser, are you able to access the account and navigate through DAV data structure? You will need to set UseBrowserPlugin to true in data/settings/modules/Dav.config.json file as described here.

Please feel free to use our HelpDesk if you'd like to get assistance from Afterlogic team directly.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide