Re: semi-RFC: new file role needed: docroot

From: Date: Sat, 26 Jul 2003 15:24:34 +0000
Subject: Re: semi-RFC: new file role needed: docroot
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18739@lists.php.net to get a copy of this message
Zitat von Martin Jansen <mj@php.net>: > On Sat Jul 26, 2003 at 02:3718PM +0200, Jan Schneider wrote: > > Zitat von Martin Jansen <mj@php.net>: > > > > > On Fri Jul 25, 2003 at 06:3357PM -0400, Greg Beaver wrote: > > > > I've been investigating the sources for PEAR, and an initial scan > says > > > > it won't be easy to do, but that it will be possible to add a new > > > > configuration option, web document root. This will allow a new > file > > > > role="web" to install into the document root, and therefore make > > > > available at a known URL all necessary files needed. This will > also > > > > eliminate the problem of releasing a package with image files > having > > > > role="php" > > > > > > How will you handle machines with multiple virtual hosts, where more > > > than one document root exists? > > > > The same like they have to do it now: Using symlinks or aliases. > > Having symlinks from one document root to another one does not sound > like a clean solution for me. (I don't have a better idea at the moment > though.) Of course you can't use symlinks in a virtual host environment. All I wanted to say is that virtual hosts always have the problem of making one install available to all host and normally do this by using Alias entries for their host settings. This is nothing PEAR or the PEAR installer has to deal with. The hosters just will install the docroot files to a place where they install all their other shared web software. Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge http://www.tip4all.de - Deine private Tippgemeinschaft

« previous php.pear.dev (#18739) next »