I just migrated our site to a different server. Actually spawning a clone of it on an in house server for various maintenance and development reasons. Anyways. . .
I copied the program and data to the new server and pointed a browser at it to see that the web server was serving it.
Moodle data permissions error. . . of course, I needed to set the permissions on the new server. Done. But apache's working. Good good.
Database connection errors. No database yet. Expected. I changed config.php to match the new environment and, created and imported the database.
404 error. . . wait wut?
In fact, the site is trying to redirect to the url "192.168.1.190/<a></a>"
Moodle IS in fact supposed to be running at 192.168.1.190 right now. Somewhere something's grabbing a redirect and spitting out <a></a> as the proper destination url.
What the heck? How do I even start troubleshooting this.