Page 1 of 1

Symbolic Link 2

PostPosted: 25. May 2008 01:31
by yeager
How can I make a symbolic link from a home folder to my htdocs folder on Debian?
I am new to Linux and have no idea how to do this so please bare with me as I am
ignorant to linux.I might know more than you think but I consider myself ignorant
anyway as i never think that I could ever know everything. I know how to set up
LAMPP with no problems and I know how to secure it. I just don't know how to
set up a symbolic link so I can load my web pages with ease.

PostPosted: 25. May 2008 13:14
by Dave_L
This command creates a symlink /home/USERNAME/htdocs that points to /opt/lampp/htdocs:

Code: Select all
$ ln  -s  /opt/lampp/htdocs  /home/USERNAME/htdocs

Thank You.

PostPosted: 25. May 2008 22:27
by yeager
Dave_L wrote:This command creates a symlink /home/USERNAME/htdocs that points to /opt/lampp/htdocs:

Code: Select all
$ ln  -s  /opt/lampp/htdocs  /home/USERNAME/htdocs




It worked like a charm and thank you I now know I have more to learn.
Thank you very much.