View Single Post
Old 2005-02-20, 02:30 AM   #11
linsys
Lord help me, I'm just not that bright
 
linsys's Avatar
 
Join Date: Feb 2005
Posts: 103
Send a message via Yahoo to linsys
Symbolic Link

Quote:
Originally Posted by Chop Smith
Linsys, it would probably help if you explained how to create a synlink on the server
Well lets see if you have shell access then it's simple

ln -s <source_dir> <link>

for instance if your creating a link called

006a/photos

But all your photos are in

006/photos

you'd make sure you where in the 006a/ dir
and type the following

ln -s ../006/photos photos

This would create a link in the directory 006a/ to the photos dir in 006/

Make sence?

if you don't have shell access there are a few ways to get it one of which is through a cgi script HOWEVER MAKE SURE YOU GET PERMISSION FROM YOUR HOST BEFORE YOU RUN ANY SUCH PROGRAMS, I'M NOT GONNA LIST ANY HERE BECAUSE NOT ALL HOSTS WANT PEOPLE RUNNING THESE, BUT IF YOU FIND ONE ASK YOUR ISP.

And finally through FTP:

SYMLINK
Used to create a symbolic link (a.k.a. a symlink) from the source path (src) to the destination path (dest).

Example:

SITE SYMLINK src dest

However not all ISPs support this..

Hope that helped.
__________________
<a href="http://www.links-o-porn.com">Links-O-Porn.com</a><BR> List Your Free Sites With Us.
<BR>
linsys is offline   Reply With Quote