1 |
On Thu, Jun 12, 2003 at 11:53:46AM +0200, Paul de Vrieze wrote: |
2 |
Content-Description: signed data |
3 |
> On Thursday 12 June 2003 11:37, Robin H.Johnson wrote: |
4 |
> > A possible solution: |
5 |
> > All webapps install to something NOT inside DocumentRoot. |
6 |
> > 'ebuild /usr/portage/.../foo.ebuild config' sets up the application |
7 |
> > (needed in most cases already) AND puts in a symlink to the |
8 |
> > DocumentRoot. |
9 |
> > |
10 |
> > This also makes it easier to support virtualhost configurations that all |
11 |
> > have access to a common tool, and makes temporarily disabling an |
12 |
> > application for security reasons much easier to do. |
13 |
> I agree with this solution. It also allows running different versions of web |
14 |
> apps next to eachother. It also allows one to be able to put them in the tree |
15 |
> where desired. Those locations should also include the package version. |
16 |
Good idea. I didn't think of that. |
17 |
|
18 |
I've often modified web-application in-place for various reasons, so |
19 |
that would work well. So install them, with SLOT="${PV}-${PR}" (I don't |
20 |
know if there is a shortcut for that). |
21 |
|
22 |
Any suggestions on where the location should be? |
23 |
/usr/share/www/* is my suggestion. |
24 |
|
25 |
-- |
26 |
Robin Hugh Johnson |
27 |
E-Mail : robbat2@××××××××××××××.net |
28 |
Home Page : http://www.orbis-terrarum.net/?l=people.robbat2 |
29 |
ICQ# : 30269588 or 41961639 |
30 |
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 |