NYCPHP Meetup

NYPHP.org

[nycphp-talk] FUNDAMENTALS Article on Virtual Hosting

Chris Snyder csnyder at chxo.com
Wed Sep 10 19:00:35 EDT 2003


This could be one of those areas where I'm not entirely clear on Unix 
philosophy, but I think of /var as being for data of a more transient 
nature, and subject to overwrite on OS upgrade. Also, most distros don't 
give /var much space by default. I consider /home and /usr/local as 
safer places for long-term storage.

I generally put virtual host webroots in /home/domain/http for 
single-site domains, or /home/orgname/domain/http for organizations with 
multiple domains.

    csnyder

Daniel Kushner wrote:

>My comments:
>
>DocumentRoot of the Virtual Hosts don't need be under the main document root
>(/var/www/html). They can be where ever you want (e.g.:
>/home/daniel/www/project1)
>
>My name is Daniel (not Dan) :)
>
>--Daniel
>
>  
>
>>-----Original Message-----
>>From: talk-bounces at lists.nyphp.org
>>[mailto:talk-bounces at lists.nyphp.org]On Behalf Of Jeff
>>Sent: Wednesday, September 10, 2003 5:24 PM
>>To: 'NYPHP Talk'
>>Subject: [nycphp-talk] FUNDAMENTALS Article on Virtual Hosting
>>
>>
>>After posting a message concerning virtual hosting, I assembled the
>>different ideas/suggestions into a single article. Below is the link to
>>the draft version. Please comment and let me know if anything has been
>>overlooked or requires clarification.
>>
>>http://cvs.nyphp.org/cvsweb.cgi/fundamentals/virtual_hosting.txt
>>
>>Jeff Siegel
>>
>>_______________________________________________
>>talk mailing list
>>talk at lists.nyphp.org
>>http://lists.nyphp.org/mailman/listinfo/talk
>>    
>>
>
>
>_______________________________________________
>talk mailing list
>talk at lists.nyphp.org
>http://lists.nyphp.org/mailman/listinfo/talk
>  
>




More information about the talk mailing list