Grav One Page fails repeatedly

[Sun Nov 10 11:35:29.146081 2019] [autoindex:error] [pid 6947:tid 47433797396224] [client 45.16.200.122:60612] 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: http://USER.com/grav/default

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

Hello,

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: