Submitted by bergerdm on Sat, 03/04/2017 - 20:37 Pro Licensee
I did a backup followed by a restore of a virtual server to test the backup. I now get 500 Internal Server Error when I try to access the website. What did I do wrong?
Status:
Active
Comments
Submitted by bergerdm on Sat, 03/04/2017 - 21:32 Pro Licensee Comment #1
The solution was: find . -name ".htaccess" -type f -exec sed -i 's/FollowSymLinks/SymLinksIfOwnerMatch/g' {} ";"
What I don't understand is why 1) the site worked before the backup (Magento 2.1) and 2) what changed during the restore?
Submitted by andreychek on Sun, 03/05/2017 - 08:58 Comment #2
Howdy -- thanks for contacting us!
The "FollowSymLinks" shouldn't actually work at all any more, that's disabled by default for security reasons.
Was this an older domain though? I'm wondering if maybe the domain was created before "FollowSymLinks" was disabled by default.
That was done several years ago, but an older domain could potentially run into that.
Submitted by bergerdm on Fri, 03/31/2017 - 16:11 Pro Licensee Comment #3
Thanks