ivnmad
October 6, 2023, 5:07pm
1
Linux Debian 6.1.0
PHP Version 8.2.7
Apache 2.4.57
Nextcloud 27.1.2 [but also previous versions]
I tried to implement what suggested in the documentation and in various posts I found here and other places, but I never managed to get rid of these warnings:
Your web server is not properly set up to resolve “/.well-known/webfinger”.
Your web server is not properly set up to resolve “/.well-known/nodeinfo”.
Your web server is not properly set up to resolve “/.well-known/caldav”
Your web server is not properly set up to resolve “/.well-known/carddav”
Everything works fine, but it would be great to find a solution.
Where and what exacltly did you try?
Please give more details about your Nextcloud server
Sorry to hear you’re facing problems
Copy paste this into your post and fill as many content as possible.
support intro and small formatting help <a href="http://help.nextcloud.com">help.nextcloud.com</a> is for home/non-enterprise users. If you’re running a business, paid support can be accessed via <a href="http://portal.nextcloud.com">portal.nextcloud.com</a> where we can ensure your business keeps running smoothly.
In or…
ivnmad
October 7, 2023, 3:56pm
3
I tried what suggested here: General troubleshooting — Nextcloud latest Administration Manual latest documentation
I also tried to insert the same in various other places, like apache.conf or .htaccess inside the nextcloud subfolder and/or root document or etc.
What additional information regarding my Nextcloud server do your require?
As mentioned, this is the basic information:
Linux Debian 6.1.0
PHP Version 8.2.7
Apache 2.4.57
Nextcloud 27.1.2 [but also previous versions]
MariadDB 10.11.4
See my posting above. Additional please post the folder and name of file, where you did add the .well-known - entries and the lines themselves.
ivnmad
October 7, 2023, 8:15pm
5
As per documentation, I entered the following in /nextcloud/,htaccess but I also tried to enter it in the web server root document .htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^\.well-known/carddav /nextcloud/remote.php/dav [R=301,L]
RewriteRule ^\.well-known/caldav /nextcloud/remote.php/dav [R=301,L]
RewriteRule ^\.well-known/webfinger /nextcloud/index.php/.well-known/webfinger [R=301,L]
RewriteRule ^\.well-known/nodeinfo /nextcloud/index.php/.well-known/nodeinfo [R=301,L]
</IfModule>
Either way, I still get the warning.
I also tried this within the /nextcloud/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^\.well-known/carddav /remote.php/dav [R=301,L]
RewriteRule ^\.well-known/caldav /remote.php/dav [R=301,L]
RewriteRule ^\.well-known/webfinger /index.php/.well-known/webfinger [R=301,L]
RewriteRule ^\.well-known/nodeinfo /index.php/.well-known/nodeinfo [R=301,L]
</IfModule>
ivnmad
October 7, 2023, 9:42pm
6
Problem solved by adding the following in my Nextcloud .conf file for apache2
<Directory /var/www/html/nextcloud/>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
<IfModule mod_dav.c>
Dav off
</IfModule>
</Directory>
3 Likes