Questions tagged [symbolic-link]

220 questions
1
vote
2 answers

CentOS: command not linked/working

Recently installed CentOS and many commands are not working: [root@zrebirth zeno]# quotacheck bash: quotacheck: command not found [root@zrebirth zeno]# adduser bash: adduser: command not found [root@zrebirth zeno]# warnquota bash: warnquota: command…
Zeno
  • 211
  • 1
  • 3
  • 17
1
vote
2 answers

Can I make a Symbolic Link in Windows 7 (or 2008) between 2 network locations?

I would like make a symbolic link in Windows (7 or 208 between 2 locations on a file server (Netapp): mklink /D \server\share\some\link \server\share\some\target\path Is this possible? I can't get it to work and the only examples I have found…
Ruben Perez
  • 11
  • 1
  • 2
1
vote
1 answer

Apache .htaccess set different password for symlink

I got a domain with a website that can be reached by two urls, mydomain.com/pathA and mydomain.com/pathB. But they are actually the same directory on the server. It contains a MediaWiki installation, which is quite large and contains image files…
1
vote
2 answers

Finding and deleting bad symbolic links in windows

Is there any simple way to find broken ntfs symbolic links in windows and delete them? (other than manual search and destroy) I'm in this mess because of windows home server's inability to upgrade without removing disks :/ and the files are…
possan
  • 153
  • 1
  • 4
1
vote
2 answers

SymLinks vs. PHP Includes (performance)

Which of these 2 is easier/faster for a Linux server running Apache to process? A) A symlink pointing to a php file: file-sym.php ---> file-orig.php B) A PHP file (file-inc.php) including another PHP file (file-orig.php) like so: Contents of…
1
vote
3 answers

urlrewrite htaccess on symbolic directory

I have a problem using htaccess url rewrite on a symbolic folder. Below is the line which i am using in htaccess file for url rewriting. RewriteRule ^global/css/([0-9]+)/([a-z-_]+)\.css$ global/less/index.php?site_id=$1&file=$2 [L] "global" is…
user57221
  • 297
  • 1
  • 9
  • 19
1
vote
2 answers

Symbolic link bypasses htaccess in apache

I have a protected folder in my server. /var/www/private/ /var/www/private/.htaccess It also has a lot of subfolders with different services. /var/www/private/service1/ /var/www/private/service2/ /var/www/private/service3/ Now, i'd like to shorten…
LatinSuD
  • 901
  • 1
  • 8
  • 17
1
vote
3 answers

Native Symlink Windows 2008 r2 with cygwin

Is it possible for me to create an ssh session on windows which then does some folder/file manipulation and then creates a NATIVE windows symlink. i.e. a symlink that will be recognised by IIS and other app/services. i've tried to create a symlink…
mickdelaney
  • 121
  • 2
1
vote
2 answers

Problem when creating a symbolic link on my server: No such file or directory

Here is the problem: tony@bootsy/var/www/bandop $ ln -nfs /var/www/bandop/shared/config/database.yml /var/www/bandop/releases/20090601055013/config/database.yml ln: creating symbolic link…
Tony
  • 4,213
  • 11
  • 35
  • 29
1
vote
1 answer

Apache configuration FollowSymlinks- Apply to php scripts?

I have Options set to none for my webroot directory. I also have a symmlink /var/coderoot -> /var/webroot/coderoot In the php script I can do include("/var/coderoot/file"); and it works fine. Regardless of the option (yes I save and restart apache.)…
Joshua Enfield
  • 3,454
  • 8
  • 42
  • 59
1
vote
3 answers

Disabling "symlink follow" feature on Ext3/4 mount points

How can I disable the symlink feature of ext3 file system mount point ? My server is being attacked by some sort of symbolic link hacking methods for reading other user's home directory. There is such an option "nosymfollow" on BSD series, but I…
1
vote
1 answer

SVN, Samba and Symbolic Links. How to get them all to play together?

I've got a website project under version control that relies on files from an unversioned directory on the same server via Symbolic Links. I'm currently storing the symbolic links in the repository. The idea is that if someone checks out a working…
Camsoft
  • 961
  • 4
  • 12
  • 21
1
vote
3 answers

Why does symlinks are not enabled - apache

I have mapped my apache to the root /var/www/vhosts. If I put there files/folders, I see them and can surf to them. But, If I put symlinks in /var/www/vhosts I get 403 - no permissions. I have the following directives for this folder:
Kourosh Samia
  • 321
  • 1
  • 5
  • 12
1
vote
1 answer

Allow certain users to access a specific directory?

I'm trying to figure out how to allow certain users who are also me to access a directory of files that I want to use for all of my users. The files I want to use are on account1 in the directory /home/account1/public_html/source/engines and I want…
animuson
  • 279
  • 1
  • 6
  • 20
1
vote
4 answers

Linux symbolic links over a network

Hi everyone, I am trying to create a symbolic-link (I think) across my network but I have very limited experience with these things and have found online help difficult to come by (perhaps I'm searching for the wrong thing). Below is an explanation…
Shaun
  • 149
  • 2
  • 2
  • 7