akaunting installation error 500

Internal Server Error

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

Please contact the server administrator at to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


solution for my 1and1 hosting: add the following line to the .htaccess file in the root

RewriteEngine On
RewriteBase /


then the whole .htaccess file look like these:


# Prevent Directory Listing
<IfModule autoindex>
IndexIgnore *

<IfModule mod_rewrite.c>
# Prevent Directory Listing
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes

RewriteEngine On
RewriteBase /

# Prevent Direct Access to Protected Files
<FilesMatch “(?i)(^artisan$|\.env|\.log)”>
# Apache 2.2 syntax
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
# Apache 2.4 syntax
<IfModule mod_authz_core.c>
Require all denied

# Prevent Direct Access To Protected Folders
RewriteRule ^(app|bootstrap|config|database|overrides|resources|routes|storage|tests)/(.*) / [L,R=301]

# Prevent Direct Access To modules/vendor Folders Except Assets
RewriteRule ^(modules|vendor)/(.*)\.((?!ico|gif|jpg|jpeg|png|js\b|css|less|sass|font|woff|woff2|eot|ttf|svg|xls|xlsx).)*$ / [L,R=301]

# Redirect Trailing Slashes If Not A Folder…
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]

# Send Requests To Front Controller…
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

You may also like...