[wp-hackers] Two different servers, one wp install

Deirdre Saoirse Moen deirdre at deirdre.net
Wed Aug 18 06:32:29 UTC 2004


On Aug 17, 2004, at 10:45 PM, David Chait wrote:

> Ahh.  Well, then it depends... Do you want to use one set of TABLES?  
> If you
> want to completely 'share' the database, then the solution is some 
> minor
> hacks to 'override' the retrieval of specific options (namely the site 
> name,
> URL, etc.) based on being at your internal site.  Again, you pre-detect
> which site is really running, set a flag, then can do optional stuff 
> later
> on.  This could be changing the table prefix (if sharing DB but not 
> tables),
> changing one or two table names (sharing MOST of the database, but 
> maybe
> splitting options table, etc. off), or again intercepting the db 
> retrieval
> of options values and replacing if on the internal box.

It seemed pretty straightforward, as you say. I'll have to wait until 
my ISP moves the one host before I try it.

I plan on sharing ALL the tables.
-- 
_Deirdre  web: http://deirdre.net   blog: http://deirdre.org/blog/
Story "A Sword Called Rhonda" in anthology _Turn the Other Chick_
Now available for preorder:
http://www.amazon.com/exec/obidos/ASIN/0743488571/deirdrswebpages/




More information about the hackers mailing list