Nextcloud version (eg, 20.0.5): 29.0.0 / 29.0.1
Operating system and version (eg, Ubuntu 20.04): Debian 12
Apache or nginx version (eg, Apache 2.4.25): 2.4.59
PHP version (eg, 7.4): 8.2.19 fpm
Since upgrading NC 28 to 29 Administration/Overview/Security & setup warnings
shows the well-known (sic) Your web server is not properly set up to resolve '.well-known' URLs, failed on: '/.well-known/caldav'
message.
Context: Since many years my webserver is configured to serve CalDAV and CardDAV from SOGo running on an internal server instead of NC’s built-in providers. I. e. apache is configured like that:
ProxyPassMatch ^/.well-known/caldav(.*) http://internal.machine/SOGo/dav$1
ProxyPassMatch ^/.well-known/carddav(.*) http://internal.machine/SOGo/dav$1
Up to NC 28 on loading Administration/Overview
the browser would ask me for the credentials to access the CalDAV resource (like ist does when I type https://myserver/.well-known/caldav
in the URL bar) and Security & setup warnings
would show no warnings WRT .well-known
URLs.
Since the upgrade to NC 29 I am not asked for credentials anymore but rather warned about the .well-kown
misconfiguration instead.
I see this in apache’s access log:
myserver:80 $IPADDR - - [26/May/2024:17:51:47 +0200] "PROPFIND /.well-known/caldav HTTP/1.1" 401 236 "-" "Nextcloud Server Crawler"
myserver:80 $IPADDR - - [26/May/2024:17:51:47 +0200] "PROPFIND /nextcloud//.well-known/caldav HTTP/1.1" 302 547 "-" "Nextcloud Server Crawler"
So, the crawler is answered with authentication needed.
Apache’s error log at the same time shows:
[Sun May 26 17:51:47.555913 2024] [proxy_fcgi:error] [pid ...] [client ...] AH01071: Got error 'Primary script unknown'
[Sun May 26 17:51:47.646218 2024] [proxy_fcgi:error] [pid ...] [client ...] AH01071: Got error 'Primary script unknown'
I can’t tell weather or not the latter did happen with NC 28 or earlier too.
How do I get rid of the bogus warning?