Question
Hello again,
after solving my initial problems (see
HowToInstallCPANModulesTheHardWay) (thanks again to Richard Donkin) I got as far as checking out the testenv. Most of it works fine. Including the wikiHome.gif-image! See the attached testenv file below. (I removed the IP adress and name of my server. I hope you don't mind.)
Before getting into the configuration of Twiki I wanted to move the folders /twiki/data and /twiki/pub to another partition on my harddrive. This is necessary due to space restrictions on my "C:\"-partition. (Somewhere in the documentation I read that these are the folders, where all the contents of the twiki are stored. So I suppose, they get real big once the twiki is up and running.)
My attempt was to do a soft link from /twiki/data to /d/twiki/data using the following command line while beeing in /twiki
ln -s /d/twiki/data data
ln -s /d/twiki/pub pub
Before this, I copied everything from /twiki/data and /twiki/pub to /d/twiki/data and /d/twiki/pub.
This seemed to work all right when moving a file from some place to /twiki/data or /twiki/pub. The file ended up in the "D:\"-partition of my hard drive, which I mounted as /d
BUT: testenv shows me that my attempt does not work out entirely, for I can not see the /pub/wikiHome.gif image any longer. Now I only get a little red x.
I did check the owner of the /d/twiki/folders and I did use the newest testenv.
Does anyone have any idea why I don't see the twiki-image?
Is there any other way to save data and pub on another part of the hard drive?
Environment
--
JuditMays - 06 Jan 2005
Answer
Instead of symlinking, edit
lib/TWiki.cfg and change
$pubDir to
/d/twiki/pub and similarily for
$dataDir (they both should around lines 72 and 76 respectively).
To avoid later confusion delete the /twiki/data and /twiki/pub directories all together.
Then retrace Step_2, Set File Permissions, in
TWikiInstallationGuide on /d/twiki/data and /d/twiki/pub.
--
MattWilkie - 06 Jan 2005
I tried that, but it's not enough.
I still need to change the $pubUrlPath, but I can't figure out how. In the Apache httpd.conf I put ServerRoot as "C:/Apache" and DocumentRoot as "C:/twiki". How do I write a URL pointing to "D:/twiki/pub" ?
--
JuditMays - 07 Jan 2005
It may be easier just to move the entire TWiki installation over to D: - otherwise you have to figure out how to split it. As long as the new TWiki.cfg and Apache httpd.conf point to
/d/ or
d:/ type paths, all should work fine.
--
RichardDonkin - 07 Jan 2005
I shortened the topic name
--
PeterThoeny - 10 Jan 2005
oops. I forgot to say: Yes. Moving twiki to d:/ is indeed working fine! Thank you very much.
--
JuditMays - 22 Feb 2005