Grav One Page fails repeatedly

[Sun Nov 10 11:35:29.146081 2019] [autoindex:error] [pid 6947:tid 47433797396224] [client] AH01276: Cannot serve directory /home/USER/public_html/grav/user/themes/gateway/img/: No matching DirectoryIndex (index.php,index.html,index.htm) found, and server-generated directory index forbidden by Options directive, referer:

This is found when trying to use the One Page install option of grav. Something wrong with the zip file.


Not sure if you are still having problems with this. From the error it looks like there needs to be a index.php, index.html, index.htm in the directory. Usually a folder like /img will not have one by default. The behavior of Directories when there is no index file can be controlled. When a user visits the /img folder, the list of files will display when there is no index file.

This can be set in cPanel which updates the .htaccess with the Options directive. This is in the Advanced Section > Indexes.

1 Like

Thanks so much! That’s probably the solution! I will try it out this weekend :slight_smile: