[dev] Sharing with virtual domains [was] Re: Galleries seem to cross over virtual domains in Head.

Jan Schneider jan at horde.org
Mon May 7 15:22:16 UTC 2007


Zitat von eculp at encontacto.net:

> I haven't tried this for probably 6 months but I'm testing the HEAD
> version with virtual domains and can't stop galleries from crossing
> over or maybe I should say, being seen on all the other virtual
> domains but without the photos.
>
> I have always done this with seperate VFS trees for all the virtual
> domains.  In my conf.php the:
> $conf['vfs']['params']['vfsroot'] = '/usr/local/www/VFS/' . $vdomain . '/';
> which works fine for the galleries created in that domain but if I
> create galleries in two domains each can see the galleries that
> correspond but also see the gallery created in the other domain but
> without images due to the fact that Apache is looking in the directory
> structure assigned in http.conf that corresponds to the vfsroot
> variable.
>
> This was never a problem previously.  Now I have tried to block it
> with permissions etc. and haven't been able to plus one of the cool
> parts of the gallery is that each can open their galleries to the
> public if they so desire.
>
>   I also just realized that the same is happening with the kronolith,
> mnemo, and nag.  For example in kronolith I see:
> My Calendars:
>
>      * eculp at unixmania.com's Calendar
>      * [Manage My Calendars]
>
> Shared Calendars:
>
>      * [eculp at ecomania.info] Citas
>      * [eculp at encontacto.net] ReporteDiario
>
> Previously I would only see the domain calenders.

Not with the default code. We never separated users from different  
domains. Though we probably should, now that we have the vdomain  
setting.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list