We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You must opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease02Sep2004
TWiki plugins: none so far
Server OS: MS Windows 2000 server
Web server: Apache/1.3.33
Perl version: 5.8.5-3 (Cygwin)
Client OS: Windows
Web Browser: IE6
Categories: Installation

-- 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

 
Topic attachments
I Attachment Action Size Date Who Comment
htmlhtm testenv_output.htm manage 11.5 K 06 Jan 2005 - 20:42 JuditMays  
Topic revision: r6 - 22 Feb 2005 - 14:34:00 - JuditMays
Support.MoveTwikiDataAndPubToOtherWindowsDrive moved from Support.HowToMoveTwikiDataAndTwikiPubToOtherPartitionOnHardDrive on 10 Jan 2005 - 00:27 by PeterThoeny - put it back
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback