Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2001
Posts: 32
User
User
Offline
Joined: Jan 2001
Posts: 32
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

Sponsored Links
charliebrown #211525 08/24/2001 12:03 PM
Joined: Apr 2001
Posts: 50
Journeyman
Journeyman
Offline
Joined: Apr 2001
Posts: 50
Make sure the config.inc.php file for each installation (both of them) points to its own specific domain/path.


+++ Quis custodiet ipsos custodies? +++
Joined: Jan 2001
Posts: 32
User
User
Offline
Joined: Jan 2001
Posts: 32
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.

charliebrown #211527 08/24/2001 2:52 PM
Joined: Jan 2001
Posts: 32
User
User
Offline
Joined: Jan 2001
Posts: 32
Try restarting Apache after adding the virtual server info! Talk about stupid! now it works, of course!

Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Did you modify the $thispath variable in main.inc.php on each install?


UBB.threads Developer
Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)