SymLinksIfOwnerMatch or something else?

1 post / 0 new
#1 Sun, 01/10/2016 - 16:02
sz00gun

SymLinksIfOwnerMatch or something else?

Hi,

Let's say I have 2 websites in Virtualmin:
web1.com
and
web2.com

All files, eg. .jps, .css, .js are in vhost on web1.com and website web2.com have symlinks to the main website's catalogs.

Can I open the website: web2.com/media/logo.jpg and see the picture from web1.com via symlinks?

At this moment I have:

Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted

however it doesn't work at all for me, the apache user is the same, because I have web1.com as a Top-level server, and web2 as a Sub-server.

Any idea, how to make it working?