Symbolic Link 2

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Symbolic Link 2

Postby yeager » 25. May 2008 01:31

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.
Linux is a great OS.
Yeager
yeager
 
Posts: 3
Joined: 25. May 2008 01:06
Location: Alabama

Postby Dave_L » 25. May 2008 13:14

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
User avatar
Dave_L
 
Posts: 212
Joined: 23. October 2004 00:43

Thank You.

Postby yeager » 25. May 2008 22:27

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.
Linux is a great OS.
Yeager
yeager
 
Posts: 3
Joined: 25. May 2008 01:06
Location: Alabama


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 10 guests