Re: [PHP] Placement of PHP programs?
On 2 Sep 2002, Ian Zimmerman wrote:
> Matthew> I don't know of any web server which doesn't support an
> Matthew> equivalent concept to Apache's aliases; I feel that /var/www
> Matthew> (and I think practice bears me out) is pretty much local
> Matthew> space - we don't fiddle with it (except when putting an
> Matthew> *initial* web site in on install - which is never again
> Matthew> touched after that).
>
> kronstadt:~# ls -l /var/www
> total 9
> lrwxrwxrwx 1 root root 55 Aug 21 23:27 docbook-dsssl -> /usr/share/sgml/docbook/stylesheet/dsssl/modular/images
> lrwxrwxrwx 1 root root 18 Aug 31 19:20 dwww -> /var/lib/dwww/html
> -rw-r--r-- 1 root root 4110 Jun 19 10:16 index.html
> drwxr-xr-x 2 root root 264 Aug 31 18:57 info2www
> kronstadt:~# dpkg -S /var/www/*
> docbook-dsssl: /var/www/docbook-dsssl
> dwww: /var/www/dwww
> dpkg: /var/www/index.html not found.
> info2www: /var/www/info2www
>
> i'm not necessarily saying it's a good thing, though :)
It's a very baaaaad thing, in my opinion. If (for whatever reason) you'd
had a directory called dwww when you'd installed dwww, you'd have lost it
all (I think - I don't think I've ever hit the situation personally). Not a
preferred outcome, in my eyes.
--
Matthew Palmer, Debian Developer
mpalmer@debian.org http://www.debian.org
Reply to: