Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

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.