UBB.Dev
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
Posted By: Dr_Manhattan Check this first: - 08/24/2001 7:03 PM
Make sure the config.inc.php file for each installation (both of them) points to its own specific domain/path.
Posted By: Jockox3 Re: Check this first: - 08/24/2001 8:04 PM
They do - that's what I cannot understand. I cannot conceive of how the one in 'test' is getting 'phpurl' wrongly because it's in its config.inc.php correctly in both so far as I can see (ie differently). I'm at a loss.
Posted By: Jockox3 Doh! - 08/24/2001 9:52 PM
Try restarting Apache after adding the virtual server info! Talk about stupid! now it works, of course!
Did you modify the $thispath variable in main.inc.php on each install?
© UBB.Developers