[nycphp-talk] FUNDAMENTALS Article on Virtual Hosting
Nasir Zubair
lists at ny-tech.net
Thu Sep 11 01:28:29 EDT 2003
Not sure about Ensim or anything else, but servers running Cpanel/WHM
control panels usually have /home/USERNAME as the document root for a user.
I'm pretty sure that quite a lot of virtual hosting providers use a separate
drive/partition for user data, such as /home.
-----Original Message-----
From: Jeff [mailto:jsiegel1 at optonline.net]
Sent: Thursday, September 11, 2003 12:07 AM
To: 'NYPHP Talk'
Subject: RE: [nycphp-talk] FUNDAMENTALS Article on Virtual Hosting
The directory /var/www/html as the Apache document root seems to be the
default location when installing Red Hat. Found this on Google:
http://www.redhat.com/docs/manuals/linux/RHL-7.1-Manual/ref-guide/s1-ins
tallation-upgradingapache.html
"In the version of Apache included in Red Hat Linux 7.1, the DocumentRoot is
/var/www/html. "
I recently installed Red Hat 9 and this is still the default DocumentRoot
directory. Sure...you could make DocumentRoot just about any directory you
want as long as you change the httpd.conf file.
Jeff Siegel
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of Chris Snyder
Sent: Wednesday, September 10, 2003 6:01 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] FUNDAMENTALS Article on Virtual Hosting
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
>
>
_______________________________________________
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