I have tried to set up two systems one test and one production looking at the same database.
I have created virtual Domains - test.abc.org.uk and
www.abc.org.uk that point to directories for the code of:
/var/www/..../abc/testthreads
and
/var/www/.../abc/wwwthreads
and the config.inc.php files are, I assure you, altered so that the one in test shows all the paths to testthreads and the one in live shows all the paths to wwwthreads. The only commonality is that they both point to the same database instance.
Now I go into the test one fine. ie typing
http://test.abc.org.uk/ takes me to the test site, but the top line links in the send_header routine always render the links as
http://www.abc.org.uk/login.php etc
I cannot find why. I have examined main.inc.php carefully and see that it is getting the config('phpurl') variable from the config.inc.php, which is set up correctly. Why would this happen...any ideas?
I'm running 5.4.3 on RH Linux 7.1 with Apache 1.3.20 and PHP 4.0.4
Help!!! :-)
Jock