Symlinking
There are many times where you need to install Jinzora on one drive or partition, but all your media
is on another. There are a few options you have to get around this issue, mainly symlinking.
*NIX
|
This is most definetly the easiest on *NIX systems. If you're running *NIX you probably already
know how to do this, but just in case you don't (hey, we all had to learn sometime, right?) here's how:
Say you have Jinzora installed in:
/var/www/html/jinzora
But your media is in
/home/ross/music
You could then do a (as one command)
cd /var/www/html/jinzora; ln -s /home/ross/music
To create a symlinked music directory inside Jinzora. Then make sure to set your $media_dir = "/music"; and you're good to go!
|
Windows
|
This used to be basically impossible on Windows, but finally Microsoft has given us symlinking on Windows! You'll need the
linkd.exe tool (part of the Windows 2003 Resource Kit, available here)
There are a few requirements for this to work, they are:
Windows 2003 Server or XP Pro (to install the Resource Kit to get linkd.exe)
ALL drives that are in play MUST be NTFS
So as an example:
Let's say your site is in:
c:\inetpub\wwwroot
And your media is in:
d:\media
Then the command would be:
linkd.exe c:\inetpub\wwwroot\media d:\media
Then you're $media_dir in Jinzora would be:
$media_dir = "/media";
|
|