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 History Action Size Date Who Comment
HTMLhtm testenv_output.htm r1 manage 11.5 K 2005-01-06 - 20:42 UnknownUser  
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2005-02-22 - JuditMays
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.