Hi all,
thanks a lot first of all for the hard work with the davical project - I love it. I have set it up on Debian Buster (Davical-1.1.9.3 & awl-0.61) with Postgres-11 and Apache-2.4 via a manual installation. I can log in into the admin interface and do my admin stuff there and I can also connect from Thunderbird and add events but I cannot connect from any Apple device (Mac and iPhone) using the same url, user & pw. Any ideas? Any help and hint's are really appreciated.
Thanks a lot in advance,
Thomas
—————————My Apache-2.4 config:
# DAViCal Calendar Server
Alias /davical /data/httpd/scripts/davical/htdocs
<Directory /data/httpd/scripts/davical/htdocs>
DirectoryIndex index.php
AllowOverride None
# for Apache from 2.4 use
Require all granted
# for Apache before 2.4 use
#Order allow,deny
#Allow from all
# These are usually not necessary (set correctly by default)
#AcceptPathInfo On
#php_value include_path /usr/share/php/awl/inc
#php_value magic_quotes_gpc 0
#php_value register_globals 0
#php_value error_reporting "E_ALL & ~E_NOTICE"
#php_value default_charset "utf-8"
# Some people want this. YMMV.
#php_admin_value open_basedir /usr/share/awl/inc/:/usr/share/davical/:/etc/davical/
</Directory>
<IfModule mod_rewrite.c>
RewriteEngine On
# PT is important if you are using an alias, it implies L
# Redirect /.well-known URLs
RewriteRule ^/\.well-known/(.*)$ /davical/caldav.php/.well-known/$1 [NC,PT]
# Optionally: redirect /principals/users/ as well
RewriteRule ^/principals/users/(.*)$ /davical/caldav.php/$1 [NC,PT]
RewriteRule ^/principals/resources/(.*)$ /davical/caldav.php/$1 [NC,PT]
RewriteRule ^/calendars/__uids__/(.*)$ /davical/caldav.php/$1 [NC,PT]
RewriteRule ^/addressbooks/__uids__/(.*)$ /davical/caldav.php/$1 [NC,PT]
# Optionally: Put DAViCal in the root
# NOTE: this will break other applications that rely on mod_rewrite!
#
# Not if it's the root URL. You might want to comment this out if you
# want to use an explicit /index.php for getting to the admin pages.
#RewriteCond %{REQUEST_URI} !^/$
#RewriteCond %{REQUEST_URI} !^/davical/$
#
# Not if it explicitly specifies a .php program, html page, stylesheet or image
#RewriteCond %{REQUEST_URI} !\.(php|html|css|js|png|gif|jpg|ico)
#
# Everything else gets rewritten to /caldav.php/...
#RewriteRule ^(.*)$ /davical/caldav.php$1 [NC,L]
</IfModule>
—————————My log when trying to connect via iPhone:
[Fri Oct 30 11:05:00.425309 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: ALL: I18N:Unsupported locale: : >>0<< = >>en<<
[Fri Oct 30 11:05:00.425406 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: ALL: I18N:Unsupported locale: : >>1<< = >>en.UTF-8<<
[Fri Oct 30 11:05:00.425446 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: ALL: I18N:Bound domain =davical= to location == using character set =UTF-8=
[Fri Oct 30 11:05:00.425571 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: ALL: caldav:Version (1.1.9) == 1001.9
[Fri Oct 30 11:05:00.425715 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: always: Query: DBGQ: SELECT schema_major, schema_minor, schema_patch FROM awl_db_revision ORDER BY schema_id DESC LIMIT 1;
[Fri Oct 30 11:05:00.431164 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: always: Query: DBGQ: Took: 0.001283 to find 1 rows.
[Fri Oct 30 11:05:00.431397 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: always: Query: DBGQ: SET TIMEZONE TO ?
[Fri Oct 30 11:05:00.431440 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: always: Query: DBGQ: "0" => "UTC"
[Fri Oct 30 11:05:00.431829 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: always: Query: DBGQ: Took: 0.000338 to find 0 rows.
[Fri Oct 30 11:05:00.432047 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: :***************** Request Header ****************
[Fri Oct 30 11:05:00.432073 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: :PROPFIND /davical/caldav.php/user1/calendar/
[Fri Oct 30 11:05:00.432087 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Host: host.mydomain.intra
[Fri Oct 30 11:05:00.432098 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Content-Type: text/xml
[Fri Oct 30 11:05:00.432108 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Depth: 0
[Fri Oct 30 11:05:00.432118 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Brief: t
[Fri Oct 30 11:05:00.432129 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Accept: */*
[Fri Oct 30 11:05:00.432139 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Connection: keep-alive
[Fri Oct 30 11:05:00.432149 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Prefer: return=minimal
[Fri Oct 30 11:05:00.432160 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->User-Agent: iOS/14.0.1 (18A393) accountsd/1.0
[Fri Oct 30 11:05:00.432170 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Content-Length: 181
[Fri Oct 30 11:05:00.432188 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Accept-Language: de-de
[Fri Oct 30 11:05:00.432209 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Accept-Encoding: gzip, deflate
[Fri Oct 30 11:05:00.432229 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: :******************** Request ********************
[Fri Oct 30 11:05:00.432303 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--><?xml version="1.0" encoding="UTF-8"?>
[Fri Oct 30 11:05:00.432322 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--><A:propfind xmlns:A="DAV:">
[Fri Oct 30 11:05:00.432334 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--> <A:prop>
[Fri Oct 30 11:05:00.432345 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--> <A:current-user-principal/>
[Fri Oct 30 11:05:00.432355 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--> <A:principal-URL/>
[Fri Oct 30 11:05:00.432366 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--> <A:resourcetype/>
[Fri Oct 30 11:05:00.432388 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--> </A:prop>
[Fri Oct 30 11:05:00.432400 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--></A:propfind>
[Fri Oct 30 11:05:00.432417 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:-->
[Fri Oct 30 11:05:00.432463 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: ALL: HTTPAuth::AuthFailedResponse Requesting authentication in the 'DAViCal CalDAV Server' realm
[Fri Oct 30 11:05:00.432492 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: ALL: HTTPAuth::Session: User is not authorised: 192.168.0.222
_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general
thanks a lot first of all for the hard work with the davical project - I love it. I have set it up on Debian Buster (Davical-1.1.9.3 & awl-0.61) with Postgres-11 and Apache-2.4 via a manual installation. I can log in into the admin interface and do my admin stuff there and I can also connect from Thunderbird and add events but I cannot connect from any Apple device (Mac and iPhone) using the same url, user & pw. Any ideas? Any help and hint's are really appreciated.
Thanks a lot in advance,
Thomas
—————————My Apache-2.4 config:
# DAViCal Calendar Server
Alias /davical /data/httpd/scripts/davical/htdocs
<Directory /data/httpd/scripts/davical/htdocs>
DirectoryIndex index.php
AllowOverride None
# for Apache from 2.4 use
Require all granted
# for Apache before 2.4 use
#Order allow,deny
#Allow from all
# These are usually not necessary (set correctly by default)
#AcceptPathInfo On
#php_value include_path /usr/share/php/awl/inc
#php_value magic_quotes_gpc 0
#php_value register_globals 0
#php_value error_reporting "E_ALL & ~E_NOTICE"
#php_value default_charset "utf-8"
# Some people want this. YMMV.
#php_admin_value open_basedir /usr/share/awl/inc/:/usr/share/davical/:/etc/davical/
</Directory>
<IfModule mod_rewrite.c>
RewriteEngine On
# PT is important if you are using an alias, it implies L
# Redirect /.well-known URLs
RewriteRule ^/\.well-known/(.*)$ /davical/caldav.php/.well-known/$1 [NC,PT]
# Optionally: redirect /principals/users/ as well
RewriteRule ^/principals/users/(.*)$ /davical/caldav.php/$1 [NC,PT]
RewriteRule ^/principals/resources/(.*)$ /davical/caldav.php/$1 [NC,PT]
RewriteRule ^/calendars/__uids__/(.*)$ /davical/caldav.php/$1 [NC,PT]
RewriteRule ^/addressbooks/__uids__/(.*)$ /davical/caldav.php/$1 [NC,PT]
# Optionally: Put DAViCal in the root
# NOTE: this will break other applications that rely on mod_rewrite!
#
# Not if it's the root URL. You might want to comment this out if you
# want to use an explicit /index.php for getting to the admin pages.
#RewriteCond %{REQUEST_URI} !^/$
#RewriteCond %{REQUEST_URI} !^/davical/$
#
# Not if it explicitly specifies a .php program, html page, stylesheet or image
#RewriteCond %{REQUEST_URI} !\.(php|html|css|js|png|gif|jpg|ico)
#
# Everything else gets rewritten to /caldav.php/...
#RewriteRule ^(.*)$ /davical/caldav.php$1 [NC,L]
</IfModule>
—————————My log when trying to connect via iPhone:
[Fri Oct 30 11:05:00.425309 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: ALL: I18N:Unsupported locale: : >>0<< = >>en<<
[Fri Oct 30 11:05:00.425406 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: ALL: I18N:Unsupported locale: : >>1<< = >>en.UTF-8<<
[Fri Oct 30 11:05:00.425446 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: ALL: I18N:Bound domain =davical= to location == using character set =UTF-8=
[Fri Oct 30 11:05:00.425571 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: ALL: caldav:Version (1.1.9) == 1001.9
[Fri Oct 30 11:05:00.425715 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: always: Query: DBGQ: SELECT schema_major, schema_minor, schema_patch FROM awl_db_revision ORDER BY schema_id DESC LIMIT 1;
[Fri Oct 30 11:05:00.431164 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: always: Query: DBGQ: Took: 0.001283 to find 1 rows.
[Fri Oct 30 11:05:00.431397 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: always: Query: DBGQ: SET TIMEZONE TO ?
[Fri Oct 30 11:05:00.431440 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: always: Query: DBGQ: "0" => "UTC"
[Fri Oct 30 11:05:00.431829 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: always: Query: DBGQ: Took: 0.000338 to find 0 rows.
[Fri Oct 30 11:05:00.432047 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: :***************** Request Header ****************
[Fri Oct 30 11:05:00.432073 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: :PROPFIND /davical/caldav.php/user1/calendar/
[Fri Oct 30 11:05:00.432087 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Host: host.mydomain.intra
[Fri Oct 30 11:05:00.432098 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Content-Type: text/xml
[Fri Oct 30 11:05:00.432108 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Depth: 0
[Fri Oct 30 11:05:00.432118 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Brief: t
[Fri Oct 30 11:05:00.432129 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Accept: */*
[Fri Oct 30 11:05:00.432139 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Connection: keep-alive
[Fri Oct 30 11:05:00.432149 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Prefer: return=minimal
[Fri Oct 30 11:05:00.432160 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->User-Agent: iOS/14.0.1 (18A393) accountsd/1.0
[Fri Oct 30 11:05:00.432170 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Content-Length: 181
[Fri Oct 30 11:05:00.432188 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Accept-Language: de-de
[Fri Oct 30 11:05:00.432209 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: headers:-->Accept-Encoding: gzip, deflate
[Fri Oct 30 11:05:00.432229 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: :******************** Request ********************
[Fri Oct 30 11:05:00.432303 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--><?xml version="1.0" encoding="UTF-8"?>
[Fri Oct 30 11:05:00.432322 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--><A:propfind xmlns:A="DAV:">
[Fri Oct 30 11:05:00.432334 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--> <A:prop>
[Fri Oct 30 11:05:00.432345 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--> <A:current-user-principal/>
[Fri Oct 30 11:05:00.432355 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--> <A:principal-URL/>
[Fri Oct 30 11:05:00.432366 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--> <A:resourcetype/>
[Fri Oct 30 11:05:00.432388 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--> </A:prop>
[Fri Oct 30 11:05:00.432400 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:--></A:propfind>
[Fri Oct 30 11:05:00.432417 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: LOG: request:-->
[Fri Oct 30 11:05:00.432463 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: ALL: HTTPAuth::AuthFailedResponse Requesting authentication in the 'DAViCal CalDAV Server' realm
[Fri Oct 30 11:05:00.432492 2020] [php7:notice] [pid 12649] [client 192.168.0.222:58197] davical: ALL: HTTPAuth::Session: User is not authorised: 192.168.0.222
_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general