I’ve made the migration and got it working… for the most part. The above mentioned Internal 500 error, due to the +FollowSymlinks being present in the .htaccess needs to be figured out.
Also, once the DNS propagated, I’d get to the log in screen, just like always which was nice. However, logging in would take to me AWSTATs page… I did laugh and giggle a bit at that one. I checked and sure enough there’s an index.html in the ./public_html folder (this APP uses index.php). I renamed it to index.old and I was able to get in to the app correctly. I reverse the file back (back to index.html) and the same thing happened, AWSTATs…
As an experiment, I typed in a URL that’s within the APP (after logging in with the INDEX.HTML still present and at the AWSTATS page) and it worked, so for some reason after logging in to the app on the VMN2 (new host) for the migrated virtual server, something has changed (apache2 again??) and it may have to do with the NGINX > APACHE2 change, not sure yet.
Once again renamed the index.html to index.old and all is well and as it should be. I hope that’s not to confusing?
I clearly have a work around, but I like things to function 100% as they should, as rigging things typically means I’ll have issues later.
Success is NOT 100% quite yet, still working through some of the smaller things here. Any input would be much appreciated.
–
Edit:
I see looking at the apache2.conf that the FollowSymlinks direction is already in this file:
Options FollowSymLinks
AllowOverride None
Require all denied
Perhaps apache2 didn’t like it twice? Dunno here, just seeing what I’ve found thus far and knowing it was an issue with the .htaccess that was easily solved. (Thinking out loud here…!) More researched needed on this one.
Also, I’ve changed the DirectoryIndex for this specific virtual server to list index.php first, but that doesn’t seem to matter… Will chase this one down as well.