symbolic link does not work in 4.0.3

Discussion in 'General' started by fastproxy, May 15, 2009.

  1. fastproxy

    fastproxy Well-Known Member


    I just upgraded to 4.0.3 and my symlink setup does not work.

    What i do is linking 2 folder so that i can access same images from different domain.
    for example:
    can be access by:
    without actually copy images to domain2 folder.

    What i do i plesk: ( when in domain 2 folder)
    ln -s /var/www/vhosts/ upload

    But now the images in domain2 does not work anymore.

    Do you know how can make it work again?
  2. auser

    auser Super Moderator

    something playing with vhost security settings:
    Follow Symbolic Link

    e.g., for domain2,
    if Follow Symbolic Link=Yes
    with symlink:
    ln -s /var/www/vhosts/ upload should work.

    if Follow Symbolic Link=If Owner Match
    then if symlnk
    domain2/upload has same owner with, should work too.
  3. mistwang

    mistwang LiteSpeed Staff

    Use "chown -h <user> <path>" to make the symbolic link the same ownership of the link target.
  4. fastproxy

    fastproxy Well-Known Member

    This works.


Share This Page