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

Re: [PHP] Placement of PHP programs?



Fabien> Shouldn't webpage go to /var/www or at least /var/, and _not_
Fabien> /usr/share ? We are talking about PHP, but it's still webpages
Fabien> after all.

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

hmmm ...

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 :)

-- 
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: