symbolic link

dwikristianto

New member
Joined
Aug 2, 2007
Messages
2
hi all,

i'm new in here, and hopefully i'm not posting in the wrong thread.
currently i use http://frihost.com to host my sites.

problem is,
those sites using a library functions that is gathered in a single directory, named as "rootlibs"

how can i create a symbolic link in a directory that has name "rootlibs" too ?

by creating a symbolic link it's easier in programming and more effective in disk space used by all sites.

is there any way i can create this symbolic link or just copying this directory to all sites is the solutions ?

thanks,
 
To be able to create a symbolic link you need shell access to your account, or alternatively, cronjob access. If you don't have shell access you can create a cronjob to create the symbolic link, and let it run once, and then delete it. You should really contact your hosting provider for the best way to approach this. Free hosting providers may not allow either cronjob or shell access.

To create a symbolic link from the shell:
Code:
ln -s /path/to/destination/directory /path/to/link

Jeff
 
thanks for the clue,

it's true if i have shell access, i will solve the problem in the beginning.
btw, cron settings is brillian idea. i never thought that, thanks :D
 
Back
Top