Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I used the following to create a symbolic link

ln -s /var/www/example.com/target/public_html faker

When I use readfile faker it shows the correct link but when I navigate through FileZilla it take me to /var/www/example.com/target/ and not public_html

My web app is not going to the correct folder either. Am I doing something wrong?

Okay more information; noticed that it is creating a self referential symbolic public_html link in /var/www/example.com/target/public_html. Actually - this only happens when I try to change the target link by force (-f).

share|improve this question
up vote 1 down vote accepted

Got it working as follows, navigated to /var/www/example.com/target/public_html folder then issued following: ln -s /var/www/example.com/target/public_html faker. Could be that I wasn't in the correct folder.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.