[wellylug] mounting the same directory to multiple locations

Lyndsay Mountfort lyndsaym at paradise.net.nz
Mon Dec 12 12:16:28 NZDT 2005


Mark Signal wrote:

> Hi All
>
> I have a webserver with some customer sites on it. Within each virtual
> hosts document root I need 1 sub directory containing the same common
> files. I could copy the directory to each document root but it makes
> updating these common files a pain. The subdirectories need to be
> underneath the document roots or the php scripts I use break (I dont
> want to relax the php security settings) so using an Alias doesnt
> work. I have tried linking the directories but Apache doesnt like it.

Are you sure it isn't just a permissions issue. I've used soft links for
this OK. But both target directory and link will need permissions
accessible to the webserver.

Lyndsay





More information about the wellylug mailing list