Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Using CALDAV in Team Calendars behind apache proxy

John Dickinson May 10, 2018

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"

 

1 answer

0 votes
John Dickinson May 10, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events