+3 votes
in General IT Tips by (39.3k points)

I found the following error in the error log on my website. How can I fix it?

Cannot serve directory /public_html/.well-known/: No matching DirectoryIndex (index.php) found

1 Answer

+2 votes
by (271k points)

It seems that your apache configuration file or ".htaccess" file has "DirectoryIndex index.php," and you do not have "index.php" in the folder public_html/.well-known/.

You can add an empty "index.php" in public_html/.well-known/, and you should not get this warning message.

Related questions

+3 votes
1 answer
asked Jul 13, 2022 in Databases by kush (39.3k points)
+1 vote
1 answer

...