Help with creating symbolic link

Posted by user1737794 on Ask Ubuntu See other posts from Ask Ubuntu or by user1737794
Published on 2012-11-08T16:36:28Z Indexed on 2012/11/08 17:24 UTC
Read the original article Hit count: 406

Filed under:

I'm a little bit confused with how the symbolic links work. I hope someone can guide me in the right direction.

I want to put a demo online from our software, which normally only runs locally on a Mac Mini. So I put all the files in the var/www from my Ubuntu 12.04 server installation.

There are a lot of hardcoded links in the software which point to "/Applications/XAMPP/xamppfiles/htdocs/narrowcasting"

Of course I can change all these code on my html/php files in /var/www, but that would be quite annoying. I hope I can fix this by creating a symbolic link. For example I have a directory called thumb in /var/www/thumb. The php code is trying to put a image in /Applications/XAMPP/xamppfiles/htdocs/narrowcasting/thumb.

Can anyone give me a tip how to achieve this with a symbolic link?

Thanks in advance.

© Ask Ubuntu or respective owner

Related posts about symbolic-link