[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PHP] Placement of PHP programs?

Matthew> 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).

itz> kronstadt:~# ls -l /var/www
itz> total 9
itz> lrwxrwxrwx    1 root     root           55 Aug 21 23:27 docbook-dsssl -> /usr/share/sgml/docbook/stylesheet/dsssl/modular/images
itz> lrwxrwxrwx    1 root     root           18 Aug 31 19:20 dwww -> /var/lib/dwww/html
itz> -rw-r--r--    1 root     root         4110 Jun 19 10:16 index.html
itz> drwxr-xr-x    2 root     root          264 Aug 31 18:57 info2www
itz> kronstadt:~# dpkg -S /var/www/*
itz> docbook-dsssl: /var/www/docbook-dsssl
itz> dwww: /var/www/dwww
itz> dpkg: /var/www/index.html not found.
itz> info2www: /var/www/info2www
itz> i'm not necessarily saying it's a good thing, though :)

Matthew> It's a very baaaaad thing, in my opinion.  If (for whatever
Matthew> reason) you'd had a directory called dwww when you'd
Matthew> installed dwww, you'd have lost it all (I think - I don't
Matthew> think I've ever hit the situation personally).  Not a
Matthew> preferred outcome, in my eyes.

Well, I have always held (right or wrong) pretty much the opposite
view to yours: /var/www _is_ for Debian content, and local content
belongs in /usr/local.  (thats why you don't see all that much in my
/var/www :-] )

Ian Zimmerman, Oakland, California, U.S.A.
GPG: 433BA087  9C0F 194F 203A 63F7 B1B8  6E5A 8CA3 27DB 433B A087
EngSoc adopts market economy: cheap is wasteful, efficient is expensive.

Reply to: