I am having trouble accessing team calendars via CALDAV behind an apache proxy. My config has these elements to reach confluence
...
RedirectMatch ^/$ /wiki/
...
ProxyPass /wiki http://portal.sinodun.com:8090/wiki
ProxyPassReverse /wiki http://portal.sinodun.com:8090/wiki
...
Subscribe to calendar tells me to use the following URL in Apple calendar https://portal.sinodun.com/ but it never connects.
I see this in the apache logs
2001:b98:204:102:fff1::f145 - - [10/May/2018:10:24:41 +0100] "PROPFIND /.well-known/caldav HTTP/1.1" 405 4032 "-" "Mac+OS+X/10.13.4 (17E202) accountsd/113"
2001:b98:204:102:fff1::f145 - - [10/May/2018:10:24:41 +0100] "HEAD /.well-known/caldav HTTP/1.1" 404 413 "-" "Mac+OS+X/10.13.4 (17E202) accountsd/113"
2001:b98:204:102:fff1::f145 - - [10/May/2018:10:24:41 +0100] "PROPFIND / HTTP/1.1" 302 775 "-" "Mac+OS+X/10.13.4 (17E202) accountsd/113"
2001:b98:204:102:fff1::f145 - - [10/May/2018:10:24:41 +0100] "PROPFIND /wiki/ HTTP/1.1" 200 11772 "-" "Mac+OS+X/10.13.4 (17E202) accountsd/113"
2001:b98:204:102:fff1::f145 - - [10/May/2018:10:24:41 +0100] "PROPFIND /caldav/v2 HTTP/1.1" 405 793 "-" "Mac+OS+X/10.13.4 (17E202) accountsd/113"
2001:b98:204:102:fff1::f145 - - [10/May/2018:10:24:41 +0100] "PROPFIND /principals/users/jad/ HTTP/1.1" 405 805 "-" "Mac+OS+X/10.13.4 (17E202) accountsd/113"
2001:b98:204:102:fff1::f145 - - [10/May/2018:10:24:41 +0100] "PROPFIND /principals/ HTTP/1.1" 405 795 "-" "Mac+OS+X/10.13.4 (17E202) accountsd/113"
2001:b98:204:102:fff1::f145 - - [10/May/2018:10:24:41 +0100] "PROPFIND /dav/principals/ HTTP/1.1" 405 799 "-" "Mac+OS+X/10.13.4 (17E202) accountsd/113"
Adding the following redirects works for me
RedirectMatch ^/.well-known/caldav$ /wiki/.well-known/caldav
RedirectMatch ^/plugins/servlet/team-calendars/(.*) /wiki/plugins/servlet/team-calendars/$1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.