Fixing a 500 Internal Server Error Installing a Grav Skeleton on Subdomain Hosted by 1&1
I don’t know if it was installing on a subdomain or a problem with 1&1 (1and1) hosting but I was getting a 500 server error on any page of the Grav Skeleton I uploaded and unzipped there except the front page. This is the error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the 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.
This is talked about in the Grav docs but none of those solutions worked for me. What did work was a one-line tweak to the .htaccess in the root of the directory I unzipped the Grav skeleton into. Simply went from this:
and all was well. I could browse around all the pages of the skeleton, not just the root page.
Note, the comment above the line I changed is talking about 404s, but I was seeing 500s.