2
votes
1answer
16 views

Circular symbolic link in /var/www/

I am running apache2. I am trying to make a symbolic link from my project location to apache's /var/www/, where it pulls the files to host. Inside my project directory myProject, I ran: sudo ln ...
1
vote
1answer
31 views

How to create symbolic link to apache document root?

My apache document root locate in /var/www and i created a directory called testwp on /var/www. I changed some privileges sudo chown -R $USER:$USER /var/www/testwp sudo chmod 755 /var/www/testwp ...
0
votes
0answers
28 views

Can't get a drive to show up on server with Apache2

I'm running Ubuntu 14.04, I have Apache2 and the entire LAMP stack installed. Everything is working correctly from that end. I have an internal, separate HDD I want the contents of available to the ...
0
votes
1answer
40 views

How to create new files or modify existing files in a sym link?

I am new to the LAMP environment. I wanted to create files directly in my home directory instead of always copying it to /var/www. I created a sym link using the following command : ln -s /var/www ...
2
votes
1answer
2k views

Symlink /var/www directory

I have been trying to create a symlink: /var/www -> /home/USER/code/ Following http://stackoverflow.com/questions/9104337/create-a-symbolic-link-of-directory-in-ubuntu , I entered the following ...
0
votes
0answers
230 views

Apache 403 Forbidden when following a symlink

I currently have a dual boot between Windows and Ubuntu 12.04, using a separate partition to be able to access the same files between the two. So, currently my files are under /media/Files My ...
0
votes
1answer
261 views

Symlinks in /var/www/html don't work on a 64 bit machine

Strange problem. I have a 32 bit machine "A" running apache where when I create a symlink to a directory and access that link on the browser, I am able to see the contents of that directory. But on ...
0
votes
1answer
497 views

12.10 403 Forbidden SymLink

I am trying to set up a simple development environment and even after setting all the permissions, I can't get past the 403 error <VirtualHost *:80> ServerAdmin webmaster@localhost ...
2
votes
1answer
5k views

sites-available subfolders and a2ensite?

Due to my job on my localhost I have a lot (think 50+) sites running, these are for about 8 different clients, I want to organise my sites into subfolders. I tried putting my sites in subfolders ...
4
votes
2answers
2k views

Can't use symlinks in local /var/www directory

I'm setting up my local LAMP server, and when I go to it, I can't follow symlinks with the Apache user (www-data). At this point, I've tried chowning and chmoding and I've added Options ...
1
vote
2answers
3k views

Making file in user's homedir accessible from web/webserver

I have a txt-file one of my user's homedir which is regularly updated there by a script. I now want to be able to access (read) this file from the web. /home/user/folder/file.txt So what I tried ...