+3 votes
in General IT Tips by (40.5k 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 (349k points)
selected by
 
Best answer

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 (40.5k points)
+3 votes
1 answer

...