Re: semi-RFC: new file role needed: docroot
| From: | Martin Jansen | Date: | Sat, 26 Jul 2003 15:15:55 +0000 |
| Subject: | Re: semi-RFC: new file role needed: docroot | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18738@lists.php.net to get a copy of this message | ||
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.)
--
- Martin Martin Jansen
http://martinjansen.com/