On Tue, Oct 02, 2001 at 10:01:43AM -0500, Dave Sherohman wrote: >On Tue, Oct 02, 2001 at 10:27:49AM +0200, martin f krafft wrote: >> i always wondered just why debian apache puts the main homepage of a >> server into /var/www. > >Because it can change during normal system operation (rules out /usr >and anything that typically resides on the root device), doesn't >belong to any particular user (rules out /home - and your pages >shouldn't belong to www-data unles you want to let crackers deface >them), and it's persistent (rules out /tmp). > >> in addition, where do virtual hosts go? > >I keep mine in /var/www/domain.tld. Based on other responses in this >thread, that seems to be a fairly common usage.
I tend to put them in users home directories www folder and its easy to put the entries in /etc/apache/httpd.conf.