a month ago
https://github.com/AdrianoOPereira/catequese/tree/main
[Fri Oct 24 19:05:15.643762 2025] [autoindex:error] [pid 12] [client 100.64.0.5:50846] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive
Good afternoon, everyone!
Does anyone know what this error means? I can't open the URL in the browser.
Error 502
2 Replies
a month ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
a month ago
since your code is running php, your apache might be misconfigured. your apache would be serving something like /var/www/html/ but that directory doesnt have any index.php or index.html, so its just returning as 502. what you need to resolve it fix apache to point to the correct folder (i.e something like this)
DocumentRoot /var/www/html/public
<Directory /var/www/html/public>
AllowOverride All
Require all granted
DirectoryIndex index.php index.html
</Directory>
you can read more about it here in apache's docs