I am also getting 500 Internal server error.
My Problem
Try checking the server error. In my case I used
cd /var/log
Then I used sudo cat apache2/access.log
(I was not able to cd into the apache2 directory directly, so this workaround)
also try sudo cat apache2/error.log if it helps.