Questions tagged [symlink]
168 questions
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
- 29
0
votes
0 answers
How can I use an external ExFat drive as localhost web server storage on OSX?
I'm using an external ExFat harddrive mounted at /Volumes/Samsung and have working symlinks connecting my localhost web server: ln -s /Volumes/Samsung/recordings ~/Developer/example/files/recordings
I can verify readability with python3 and php…

E.A.T
- 101
- 2
0
votes
1 answer
dpkg-maintscript-helper: basename: Too many levels of symbolic links
I am having this error each time I run an apt-get command, I dont know what caused this but I tried every solution I found related to this but still no hope
root@vmi575272:/# sudo apt-get autoremove
Reading package lists... Done
Building dependency…

Neji Soltani
- 103
- 4
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
0
votes
1 answer
How can I search for symlinks that point to other symlinks?
I have morass of chained symlinks like this scattered around:
A (symlink) -> B (symlink) -> C (file)
Some may even involve longer chains, I'm not sure yet.
When manually examining a single file it's easy to see what's going on but I'm looking for an…

Displayname71
- 109
- 1
- 7
0
votes
0 answers
Nginx configure location rewrite for all subfolders
This question follows on in many ways from a previous one I had asked - and ended up answering myself. A brief summary of the problem I describe there and my solution to it
I need to perform different default actions when there is an attempt to…

DroidOS
- 173
- 7
0
votes
1 answer
Two directories share storage without symbolic link
I am in a pickle.
I have a server (physicals machine) that has a link between a directory and a partition. I don't see a symbolic link.
The problem is that the root partition shows 0% space. Even if I delete data from other directories it doesn't…

matisa
- 131
- 1
- 6
0
votes
1 answer
Point symlink to external URL
Not sure if this is possible at all, but maybe there's another way to go about this that will get the same result.
The old situation
I'm running a LAMP server with CentOS 6. This server hosts a LOT of websites that we own. In the file system, we…

Albert
- 119
- 3
0
votes
0 answers
Git ignore is ignoring sym.llinks?
In a laravel project I have a storage folder and inside it, I have an app folder (normally). So the full path is: /var/www/html/myproject/storage/app
Now I have a file server and I wish to serve the app folder from there. Thus I've set up an NFS…

Bert
- 1,028
- 1
- 16
- 33
-1
votes
1 answer
VPN connection fail DNS settings
I have a problem with DNS settings in Ubuntu 16.04.
First I configure my VPN connection using .ovpn file with command:
sudo openvpn vpn_config_file.ovpn
The interface tun0 is up but it's not getting any traffic:
tun0 Link encap:UNSPEC HWaddr…

Adrian Orzoi
- 1
- 2
-1
votes
1 answer
symlink to PHP file not handled as PHP
I have PHP5 installed on an Ubuntu 14.04 server and it works fine. I create a file called foo.php anywhere in the document tree and it gets passed to the PHP interpreter just as you'd expect.
However... I don't want the .php extension to be visible…

kbro
- 260
- 1
- 2
- 12
-1
votes
1 answer
Two website accounts on linux VPS sharing common files/directories via symlinks
I have two eCommerce sites currently on two different shared hosting platforms. The sites sell music digital downloads. They both sell the same music. I would like to move them to a VPS, and I would like to make both sites share the same music files…

Lee Fentress
- 1
- 1
-2
votes
1 answer
How to make a symlink for MySQL?
Sorry guys for the silly question but I am really need of help.
Running df -h I get
/dev/vda1 40G 38G 0 100% /
/dev/sda 99G 60M 94G 1% /mnt/volume-fra1-01
I tried to create a symlink between the heaviest folder of my…

Diego
- 1