|
From: Alvaro d. C. <ac...@ba...> - 2001-07-26 14:12:09
|
El d_ 26 Jul 2001 15:03:01 +0100, Alex McLintock escribi_ > Let me ask a slightly different question suggested by the "multiple slash servers" > discussion. > > I want to copy my existing slash site (<plug>http://news.DiverseBooks.com</plug>) > to a development/backup version of the same site so that my colleague and I > can try things out without messing up the existing site. > > If the hostname is hardcoded into the database then I can't just do a database copy > onto a fresh slash installation - at least not without faking the hostname of > the test machine to be the same as the production machine :-( > > Make sense? What do other people do? I dump the database in a sql file and then replace there the name of the hostname1 with hostname2. The you can use this data to create the development system. And if you want also to have the static pages, you need to change the writestatus to the stories so they are generated by slashd. But in slashcode 2.0 it seems the static pages are disabled so you don't have to do it. Cheers -- Alvaro > > Alex > > > ===== > Alex McLintock al...@OW... Open Source Consultancy in London > OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ > DR WHO COMPETITION: http://www.diversebooks.com/cgi-bin/caption/captions.cgi?date=200104 > Get Your XML T-Shirt <t-shirt/> at http://www.inversity.co.uk/ > > ____________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk > or your free @yahoo.ie address at http://mail.yahoo.ie > > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > http://lists.sourceforge.net/lists/listinfo/slashcode-general > |