what are symlinks?A symbolic link (symlink) is somewhat analogous to a shortcut in winders. To create a symbolic link, use the following syntax:
On Wednesday, June 18, 2003, at 04:35 PM, Brent Thomson wrote:
Assuming you're using Apache and have FollowSymLinks enabled, you can make (you guessed it) a symlink to the file you want to give access to from a directory that is within webroot.
-Brent
ln -s /path/to/real/file link_name
eg.
ln -s /mnt/media/music /var/www/web_page/music/
where /var/www/web_page/ would be the web page's root.
Then, assuming the files in /mnt/media/music have the necessary permissions, I could browse the files online using www.example.com/music/...
Jacob Fugal
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
