# SymLinksIfOwnerMatch or something else?

**URL:** <https://forum.virtualmin.com/t/symlinksifownermatch-or-something-else/52538>\
**Category:** Help! (Home for newbies)\
**Created:** [January 10, 2016, 10:02pm UTC](https://forum.virtualmin.com/t/symlinksifownermatch-or-something-else/52538 "2016-01-10T22:02:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sz00gun](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/sz00gun/32/2477_2.png) [@sz00gun](https://forum.virtualmin.com/u/sz00gun)\
**Post date:** [January 10, 2016, 10:02pm UTC](https://forum.virtualmin.com/t/symlinksifownermatch-or-something-else/52538/1 "2016-01-10T22:02:19Z")

</div>

Hi,

**Let’s say I have 2 websites in Virtualmin:**  
[web1.com](http://web1.com)  
and  
[web2.com](http://web2.com)

All files, eg. .jps, .css, .js are in vhost on [web1.com](http://web1.com) and website [web2.com](http://web2.com) have symlinks to the main website’s catalogs.

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

**At this moment I have:**  
\<Directory /home/web1/public\_html\>  
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](http://web1.com) as a Top-level server, and web2 as a Sub-server.**

Any idea, how to make it working?

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 5:36am UTC](https://forum.virtualmin.com/t/symlinksifownermatch-or-something-else/52538/2 "2020-04-30T05:36:18Z")

</div>

Closed on April 30, 2020, 5:36am UTC


