From: Christopher H. <ch...@ch...> - 2005-03-14 21:12:36
|
On Mon, 14 Mar 2005, Sam Tregar wrote: > On Sun, 13 Mar 2005, Christopher Hicks wrote: >> Is there any easy way to rename a krang instance? Based on my >> previous experience I'm gussing that I'll have to move the directory >> in templates. There seems to be a data/media/instance directory >> too. I'm also guessing I'll have to change something in the >> database, but I'm not sure what that'd be yet. > > I think you've got a handle on it. I don't think you'll have to > change anything in the database. I had to change krang.conf rather than the database. I was surprised that the instance display name isn't used on the list of instances when hitting the krang root. More on that below. >> Has anybody renamed an instance successfully? > Not to my knowledge. Why would you want to do this? When I originally setup krang I used a test site and name for several of the parameters. We built on this and it became our primary krang instance. A more meaningful name seemed appopriate so I wanted to tweak it. It would have been nicer if the instance name InstanceDisplayName specified in krang.conf were displayed on the instance menu instead of the unique instance identifier used in the Instance tag and for naming directories. The use of the display name would make renaming instance much easier since the directories wouldn't have to be renamed. -- </chris> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) |