Gentoo Archives: gentoo-dev

From: Michael Cummings <mcummings@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] [GLEP] Web Application Installation
Date: Tue, 05 Aug 2003 09:49:21
Message-Id: 20030805094936.GC30390@enki.datanode.net
In Reply to: Re: [gentoo-dev] [GLEP] Web Application Installation by Stuart Herbert
1 To chime in...
2
3 On Mon, Aug 04, 2003 at 11:16:15PM +0100, Stuart Herbert wrote:
4 Content-Description: signed data
5 > On Monday 04 August 2003 6:11 pm, Max Kalika wrote:
6 > > Good morning!
7 >
8 > Evening, Max.
9 >
10 > > See, I don't think that running two (or more) copies of an application is
11 > > supporting virtual hosts. Upgrading all the files is a pain. Why not have
12 > > one installation of the core files and multiple installations of the config
13 > > files? This is, of course, very application specific -- most of them will
14 > > still need database upgrades, but that has to be done by the sysadmin.
15 >
16 > Because that won't quite work, unless the app is aware of virtual hosting -
17 > and many (if not most) aren't. Think about it.
18 >
19 > Here's an example. Imagine hosting (oh, I don't know) www.iammax.com and
20 > www.maxisgreat.com on the same physical box. Document roots for each are
21 > /var/www/<host>/public_html/ for arguments sake.
22 >
23 > Now imagine running phpBB on both domains, to provide separate forums. As far
24 To take this one step further, where I work we host about 300+ domains plus
25 subdomains. We may install an app but expect to be able to customize the
26 interface for each customer - so I have to side with Stu on this one.
27
28
29 > * /usr/webapps/<app-name> as the main directory.
30 > * /usr/webapps/<app-name>/public_html/ for files served by the web server
31 > * /usr/webapps/<app-name>/cgi-bin/ for CGI-BIN files
32 > * /etc/webapps/<app-name>/ to hold the box-default config files
33 > * <app-name> is ${PN} for non-slotted packages
34 > * <app-name> is ${P} for slotted packages
35
36
37 for what it's worth, i like this break out as well
38
39
40 Just wanted to add another voice to the fray - another lurker stepping
41 forward
42 --
43
44
45 -----o()o---------------------------------------------
46 | http://www.gentoo.org/
47 | #gentoo-dev on irc.freenode.net
48 Gentoo Dev | #gentoo-perl on irc.freenode.net
49 Perl Guy |
50 | GnuPG Key ID: AB5CED4E9E7F4E2E
51 -----o()o---------------------------------------------
52
53
54 --
55 gentoo-dev@g.o mailing list