I have been trying to install Shopware 6 on my cpanel server at Fastcomet.com. However, I keep getting a 500 internal server error.
Below are the steps i’ve done when trying to install Shopware 6.
I downloaded Shopware 6 from the website.
I extracted all the installation files in the root directory of my domain: https://sitesetup.nl/
When I first assessed my website, I’ve got the following message:
Shopware Root Directory
You should not be able to see this page.
If yes you are missing some important server configuration. For security reasons, all accessible files are located in the /public directory of your Shopware installation.
Please configure your web server to root your domain to the /public directory of this installation.
What I did next is, I adjusted the root directory to point to the /public folder.
Now when I try to access the site, it returns a 500 internal server error. I have browsed the internet and the forum. But I was unable to find a solution.
I think it has something to do with the .htaccess file. But I don’t know how to set up the file correctly;/ This is how it looks currently:
# If the requested filename exists, simply serve it.
# We only want to let Apache serve files and not directories.
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ - [L]
# Rewrite all other queries to the front controller.
RewriteRule ^ %{ENV:BASE}/index.php [L]
The first thing you need to know about an 500 Internal Server Error is that the error can only be resolved by fixes to the Web server software. It is not a client-side problem meaning that the problem is not with your browser, your computer, or your internet connection. This is a ‚catch-all‘ error generated by the Web server. Basically something has gone wrong, but the server can not be more specific about the error condition in its response to the client. In addition to the 500 Internal Server Error notified back to the client, the Web server should generate some kind of internal error log which gives more details of what went wrong. It is up to the operators of the Web server site to locate and analyse the logs which should give further information about the error. However, there are often ways to quickly get around the problem:
I have same issue. everythig is working fine when I call the public folder directly in URL. However, using the redirect of document root I get the error 500.
All files (644) and folders (755) have the correct attributes.
Interstingly, when I call the root folder of the Sw installation, I get a correct message that I should use „Public“ instead.
Any help is appreciated. Thanks