Search the Community
Showing results for tags 'symlinks'.
Found 1 result
Hi all, My project folder on my ubuntu server lies at this location (a) : /home/vagrant/website I had copied my project at /var/www/public/ ( I created the public folder under /var/www/. The other folder by default is html which contains the default index.php displaying the phpinfo) I now wished to create a symlink to my project folder at (a). SO i deleted my project folder and files under the public folder and instead created the symlinks. This is what the public folder looks like now: vagrant@vagrant:/var/www/public$ ls -l total 0 lrwxrwxrwx 1 vagrant www-data 28 Jun 19 10:21 project -> /home/vagrant/website/project lrwxrwxrwx 1 vagrant www-data 27 Jun 19 10:21 proj_inn -> /home/vagrant/website/proj_inn lrwxrwxrwx 1 vagrant www-data 27 Jun 19 10:21 mylibs -> /home/vagrant/website/mylibs vagrant@vagrant:/var/www/public$ However when I try and access my project page on the browser, it does not show up. Instead the phpinfo page from the default index.php is displayed. Am I making a mistake or can't symlinks be used as I am trying to use them?? Thanks all !