Share » Forums » Install & configuration » Host Site Matching

Host Site Matching

Host Site Matching

Wednesday 10 November 2004 1:00:46 pm - 3 replies

Modified on Wednesday 10 November 2004 1:04:10 pm by Deane Barker

Author Message

Deane Barker

Wednesday 10 November 2004 1:42:29 pm

Through some hacking and debugging of the access.php file, I found the (a?) problem -- the site is TOTALLY ignoring "settings/site.ini"

For instance, I have this in site.ini:

MatchOrder=host

However, when the access.php code pulls that setting, it gets "uri" as the value. Why would this be?

Deane

Deane Barker

Wednesday 10 November 2004 1:53:17 pm

I've confirmed this. If I hack this into the access.php file...

$order = array('host');
(then, further down...)
$matchMapItems[] = array("domain1.com","domain1");
$matchMapItems[] = array("admin.domain1.com","domain1_admin");
$matchMapItems[] = array("domain2.com","domain2");
$matchMapItems[] = array("admin.domain2.com","domain2_admin");

..then it works exactly as it should. It is not getting these settings from the site.ini file for some reason. Why would this be?

Also, now that I've got it talking to a different database, I still need to figure out how to initialize that database.

Deane

Deane Barker

Wednesday 10 November 2004 2:25:11 pm

Found the database file -- forget that. I'm moving this to a new thread since the core problem has nothing to do with host matching, but instead has to do with the install refusing to read site.ini.

Deane

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu