I have two servers, one with a temporary domain (http://www.tdwg.gbif.org
) and another with my permanent domain (http://www.tdwg.org
). I have an instance of OJS running on a temporary URL (http://www.tdwg.gbif.org/ojs
), but I would like my users to have the impression OJS is running from http://www.tdwg.org/proceedings
I'm trying to set up a reverse proxy (using Apache mod_proxy) on the permanent server pointing to the other server. My Apache configuration for the proxy is below (set up at http://www.tdwg.org
ProxyPass /proceedings/ http://www.tdwg.gbif.org/ojs/
ProxyPassReverse /proceedings/ http://www.tdwg.gbif.org/ojs/
However, I can't make OJS detect the domain properly. It renders the first page ok, but get the wrong URLs for the CSS stylesheets and some links. I think OJS is trying to auto-detect the base URL for the site and that is messing up with my set up.
Is there a way to create the set up I described above?
Any help is greatly appreciated.