500 Internal Server Error

Hey, Im Newly Installed the Hestia v1.5.7 On ubuntu Ubuntu 20.04 x86_64

Everything Working Fine Except This Issue :

I tried to install php website in my domain, so i put website files to domain.com > public_html
So the website install wizard located in folder named “public”, when i try to open domain.com/public it shows ,

Oops! Something went wrong.

The server encountered an internal error or misconfiguration and was unable to complete your request.

Error Code: 500

So i thought Maybe its website file issue and i do the same steps with another webpanel -cyberpanel- and it worked fine.

Is there any reason to it Only Happen in Hestia ?



[Fri Feb 11 11:56:17.797484 2022] [autoindex:error] [pid 23652:tid 140520234735360] [client 51.81.167.146:0] AH01276: Cannot serve directory /home/admin/web/bangerbag.com/public_html/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Fri Feb 11 11:56:20.716494 2022] [autoindex:error] [pid 23652:tid 140520217949952] [client 112.134.201.58:0] AH01276: Cannot serve directory /home/admin/web/bangerbag.com/public_html/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Fri Feb 11 11:56:46.221264 2022] [autoindex:error] [pid 23652:tid 140520022030080] [client 65.154.226.165:0] AH01276: Cannot serve directory /home/admin/web/bangerbag.com/public_html/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Fri Feb 11 11:56:59.242591 2022] [proxy_fcgi:error] [pid 23652:tid 140520097564416] (70007)The timeout specified has expired: [client 112.134.201.58:0] AH01075: Error dispatching request to : (polling), referer: https://bangerbag.com/unzipper.php
[Fri Feb 11 11:58:22.633385 2022] [core:alert] [pid 23652:tid 140519996851968] [client 112.134.201.58:0] /home/admin/web/bangerbag.com/public_html/public/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
[Fri Feb 11 11:59:41.864584 2022] [core:alert] [pid 37543:tid 140520251520768] [client 112.134.201.58:0] /home/admin/web/bangerbag.com/public_html/public/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
[Fri Feb 11 12:02:36.247400 2022] [core:alert] [pid 54038:tid 140520097564416] [client 112.134.201.58:0] /home/admin/web/bangerbag.com/public_html/public/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
[Fri Feb 11 12:03:29.449901 2022] [autoindex:error] [pid 81398:tid 140520201164544] [client 131.153.240.10:0] AH01276: Cannot serve directory /home/admin/web/bangerbag.com/public_html/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Fri Feb 11 12:03:49.859445 2022] [core:alert] [pid 89908:tid 140520114349824] [client 112.134.201.58:0] /home/admin/web/bangerbag.com/public

Error log screenshot : click me

Invalid command ‘Header’, perhaps misspelled or defined by a module not included in the server configuration

a2enmod headers in command line should work …

1 Like

Hello ,
Is there anyway to fix this , im very new to this

a2enmod headers
1 Like

It Worked , Thanks a Lot, :love_hotel:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.