Quote:
Originally Posted by Maidos
thanks tiger, but symlink. got any instructions how that can be done?
|
You have to SSH to your box and use the symlink command.
Suppose you download directory is now /home/maidos/www/downloads and the directory on the 2nd harddisk is like this: /hdd2/downloads.
I just give the example /hdd2 here normally you don't even see if a directory is on another hd in linux because it mounts as a directory. But oke in this example the command would be (the /hdd2/downloads directory must already exist):
Code:
ln -s /home/maidos/www/downloads /hdd2/downloads
However you might need to have to correct owner rights on the /hdd2/downloads directory and for your own virtual dir in apache the directive for allowing symlinks must be on.
I found a nice piece of documentation on how to do it for ftp, there are also tips for mounting it instead of symlinking.
http://www.castaglia.org/proftpd/doc...TO-Chroot.html
I hope this helps you further.
If you're not sure, just test with some directory's you made first.
To unlink: unlink symbolic_link
Where symbolic_link is the symbolic link name in this example /hdd2/downloads