symbolic link does not work in 4.0.3

fastproxy

Well-Known Member
#1
Hi,

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: domain1.com/upload/images.jpg
can be access by: domain2.com/upload/images.jpg
without actually copy images to domain2 folder.

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

But now the images in domain2 does not work anymore.

Do you know how can make it work again?
 

auser

Super Moderator
#2
something playing with vhost security settings:
Follow Symbolic Link
Restrained

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

domain2.com/upload/images.jpg should work.

if Follow Symbolic Link=If Owner Match
then if symlnk
domain2/upload has same owner with domain1.com/httpdocs/upload,
domain2.com/upload/images.jpg should work too.
 
Top