View Single Post
Old 2005-02-20, 03:38 AM   #12
Halfdeck
You can now put whatever you want in this space :)
 
Halfdeck's Avatar
 
Join Date: Oct 2004
Location: New Haven, CT
Posts: 985
Send a message via ICQ to Halfdeck
Quote:
Originally Posted by linsys
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.
Nice idea Linsys
an .htaccess file on the free site root dir would also do the trick.

The way I do it is pretty much the same as crazysy. I only submit to about 9 ~ 50+ LLs right now so its not a huge deal.

Still, moving the htmls up one directory used to be a pain in the ass for rewriting image paths. But now I have scripts figuring it all out for me so I can move the pages wherever I want without worrying if the images break.
Halfdeck is offline   Reply With Quote