Questions tagged [symlink]

166 questions
0
votes
1 answer

Drupal File System

In order to try & improve load time , I'm thinking of creating a specific subdomain for the files folder in a Drupal site. Further improvement could be for instance to have that specific subdomain on a cloud... I'm not really knowledgeable about…
PatrickS
  • 340
  • 1
  • 3
  • 12
0
votes
2 answers

How do I see and delete an 'invisible / orhpaned' symbolic link?

There seems to be an invisible symbolic link on my system. First, I go to the /var/www directory and it shows nothing: # var/www# ls -la total 0 Next, I create a symbolic link and it is created successfully: # var/www# ln -s /var/www/server/…
user29701
  • 31
  • 1
  • 3
0
votes
1 answer

Apache2 on Ubuntu 11.04 - New Virtual Host 403 Forbidden Error

I receive the following error when trying to access a new virtual host: Forbidden You don't have permission to access / on this server. Apache/2.2.17 (Ubuntu) Server at www.local.ttr Port 80 The apache log file for this virtual host contains the…
GordyD
  • 101
  • 1
0
votes
2 answers

Symlink gitolite user directory to Apache sites-available

I have a gitolite development server and I'm trying to automate creation of new virtualhosts. I figured rather than try to have the gitolite user (non root) create new config files in /etc/apache2/sites-available I would symlink a…
Brian
  • 366
  • 1
  • 7
0
votes
3 answers

Performance & Security Factors of Symbolic Links

I am thinking about rolling out a very stripped down version of release management for some PHP apps I have running. Essentially the plan is to store each release in /home/release/1.x etc (exported from a tag in SVN) and then do a symlink to…
Stoosh
  • 53
  • 6
0
votes
1 answer

symlink between public_html folders of two domains

I have a site hosted in domain1.com/mysite. I need to be able to point domain2.com to that site, but without doing any redirect (the url has to be the same). The "mysite" is a part of a very complex web app located in domain1.com so i can´t just…
brpaz
  • 179
  • 1
  • 2
  • 9
0
votes
1 answer

Samba mount isn't following a symlink

I am running two servers and wish to mount a directory on one from the other. For various reasons, I wish to use Samba (smbfs) rather than NFS. ServerA mounts ServerB with this in the fstab: //ServerB/sambashare /mount/point smbfs…
Peter Howe
  • 203
  • 2
  • 8
0
votes
3 answers

Is this a symbolic link?

I type ls -l and a directory shows up like this: lrwxrwxrwx 1 root root 23 Jan 7 03:44 order_pictures -> /storage/order_pictures Is that a symlink? I am trying to replicate this, so I type ls -s thumbs/ /storage/thumbs/ because I need to make…
Andrew Fashion
  • 1,635
  • 7
  • 22
  • 26
0
votes
2 answers

Rsync, copy through symlink

I am using rsync to backup my server to an offsite server. Due to diskspace on my backup server, I have created a couple of symlinks to put some of the data on a different drive. However, instead of copying through to that symlink location, rsync is…
David
  • 829
  • 3
  • 13
  • 30
0
votes
1 answer

Symlink problem

I'm trying to do a simple symlink. I have a nfs share shared under /share. There are a couple of directories under /share. I wish to have a symlink of i.e.: /share/data in /var/opt/data. I come to a problem when I use "ln -s /share/data…
groblus
  • 67
  • 1
  • 5
0
votes
1 answer

Can I hide or ignore symlinks with Samba

I'm trying to back up our company's website using a regular old windows copy utility. Website is riddled with symlinks and if they were all followed would bloat the backup to 400% of it's normal girth. I've told Samba not to follow symlinks, but…
Peter Turner
  • 2,048
  • 9
  • 33
  • 45
0
votes
2 answers

Symlink - Change specific files

I've sym-linked a directory, and now I want to change a specific file in the linked directory, without changing it in the target directory. I don't want to copy the whole directory. What can I do?
Alon Gubkin
  • 666
  • 3
  • 7
  • 12
0
votes
2 answers

SSL not working on symlinked files

I have a virtual (CentOS) webserver running Apache. I have multiple websites running. Two websites share the same set of core files and have a common database. The files are "shared" via symlinks. Site1's files are the real files and site2's "files"…
Rob Decker
0
votes
2 answers

Symlink across local volumes in webroot?

I am looking for a good short-term solution to storage space concerns on my website. Currently, I have all uploaded files (flash video, images, etc.) inside the 'files' directory in my web root (/home/account/public_html/files). That directory is…
geerlingguy
  • 1,357
  • 2
  • 17
  • 28
0
votes
1 answer

Trying to install Wordpress locally by using docker where some folder symlinked to my git directory

Using this image with docker-compose.yml: https://hub.docker.com/_/wordpress Everything done by the book and it works till I tried to symlinks some folders to my git repository. This is the part of my docker-compose.yml wordpress: image:…
Anatoly
  • 140
  • 1
  • 9