XF 2.0 getting 404 (not found) errors on apache virtual host when using a proxy

PaulyT

Member
I'm setting up a new server for an existing domain. When I install xenforo on the "main" apache server, it works fine using the new server's native hostname in the URL. But I need to install this on a virtual host that will - eventually - handle my domain. So I moved the forum into the virtual host's directory on the server, and set up a proxy in my web browser to route URLs with that domain to the new server's IP address. But then when I try to load the forum, I get 404 errors. See the attached screenshot.

The thing I don't understand is that the initial request to /forum/ is working, because I get the structure of the page. But then it must be dynamically reloading itself somehow, resulting in this "not found" error? I'm trying to figure out if this is a misconfiguration of my apache virtual host, or a problem with xenforo itself. Any clues?

Hopefully my explanation here makes sense... sorry it's a bit complicated.
 
Top Bottom