No matching DirectoryIndex

Hello,

My site for all pages has errors “

This page isn’t working

—-.com is currently unable to handle this request.

HTTP ERROR 500″

In cPanel metrics section, I see the below errors:

[Thu Mar 29 10:29:55.504048 2018] [autoindex:error] [pid 1019784:tid 1401110643131018112] [client xxx.xx.xxx.xx AH01276: Cannot serve directory /home/kar2015/a.com/: No matching DirectoryIndex (index.php,index.html,index.htm) found, and server-generated directory index forbidden by Options directive

[Thu Mar 29 10:19:52.133400 2018] [autoindex:error] [pid 109815:tid 14001164323507968] [client xxxxxxxx] AH01276: Cannot serve directory /home/kar2015/a.com/: No matching DirectoryIndex (index.php,index.html,index.htm) found, and server-generated directory index forbidden by Options directive

My site has been running over a year in this directory. Yesterday, I simply applied some css and I clear cache and site looks good. Today I see this error. 

I have taken the below steps but no luck.

  1. In shared hosting server, changed the php version from 5.6 to 7.0.

  2. Renamed sites/all/ the folder “modules” to “nomodules”.

  3. In settings.php file, added “ini_set(‘memory_limit’, ‘128M’);”

  4. Renamed sites folder to “nosites”

  5. Un commented RewriteBase / this line in .htaccess file.

  6. Called hosting company and they tested php file and database access. All good in the server.

I spent hours but could not fix it. Please advise. 

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/22/feed