Results 1 to 6 of 6

Thread: Symlinks

  1. #1
    Join Date
    Nov 2001
    Location
    California
    Posts
    1,991

    Symlinks

    I did this
    Code:
    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?

  2. #2
    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/

  3. #3
    Join Date
    Nov 2001
    Location
    California
    Posts
    1,991
    For some reason it is not working.

  4. #4
    Join Date
    Apr 2002
    Posts
    165
    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.

  5. #5
    Join Date
    Nov 2001
    Location
    California
    Posts
    1,991
    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.

  6. #6
    Join Date
    Apr 2002
    Posts
    165
    Ah, I see, not familiar with Plesk. I normaly am using Webmin. Sorry.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •