Web Hosting Talk







View Full Version : Symlinks


iamdave
05-15-2002, 01:11 AM
I did this
ln -s /usr/local/psa/home/vhosts/domain.com/httpdocs /usr/local/psa/home/vhosts/domain.com/httpsdocs
It placed the symlink, however when I click on it, it doesn't take me to the httpdocs directory. Anyone know why?

Starhost
05-15-2002, 03:27 AM
You have done it wrong if I'm correct.

Suppose you want a symlink in the directory
/home/admin/web to /var/log/admin/

then do the folowing:

ln -s /home/admin/web/sym_link_name /var/log/admin/

iamdave
05-15-2002, 08:20 PM
For some reason it is not working.

Gadgy
05-15-2002, 08:41 PM
this is a real daft question, but your dir ends in domain.com/httpdocs ???

- if this is a server docs dir have you made sure symlinks is enabled if it needs to be and that overrides etc are appropriately set to allow it to be enabled for the v server in question? just a guess, probibly wrong.

iamdave
05-15-2002, 08:56 PM
Originally posted by Gadgy
this is a real daft question, but your dir ends in domain.com/httpdocs ???

- if this is a server docs dir have you made sure symlinks is enabled if it needs to be and that overrides etc are appropriately set to allow it to be enabled for the v server in question? just a guess, probibly wrong. I use plesk. Plesk keeps a directory sturcute this way:

Domain
> httpdcos
> httpsdocs
> cgi-bin
> etc...
Symlinks are enabled because it is putting in the shortcut, but the shortcut doesn't work.

Gadgy
05-15-2002, 09:05 PM
Ah, I see, not familiar with Plesk. I normaly am using Webmin. Sorry.