Wednesday 10 November 2004 1:00:46 pm
I have ez 3.4.4 located in a central directory, and I need to be able to map several sites to it. Here is my understanding: If I do this in /setting/site.ini...
[SiteAccessSettings]
MatchOrder=host
HostMatchType=map
HostMatchMapItems[]=domain1.net;domain1
HostMatchMapItems[]=domain2.net;domain2
Then, inbound requests to domain1.net will look to the file in...
/setting/siteaccess/domain1/site.ini.append.php
...for database connection information and other settings. All settings in that file will override matching settings in /setting/site.ini. Is this right? Do I need to disable all other match orders? I don't want to use URI or Post -- just domain will be find. Related to this, how do you initialize a new database? Every other time I've set up ez, I've gone through the wizard. If I used the wizard to set up domain1, and now I need to set up domain2, how do I get the right tables and such in the domain2 database? I have looked for a SQL file, but I haven't found one. Finally, do the DebugAccess and DebugExtraAccess directives work? I have set them, but I get nothing new on the screen when I attempt to access the site. Deane
|