1 |
'lo Max, |
2 |
|
3 |
Keep it comming. I think we're really getting this thrashed out ;-) |
4 |
|
5 |
On Sunday 03 August 2003 4:20 pm, Max Kalika wrote: |
6 |
> Correct. I also create an apache config block as |
7 |
> |
8 |
> /etc/webapps/<application>.conf |
9 |
|
10 |
If it's apache-specific, can't we at least call it <application>-apache.conf? |
11 |
|
12 |
> This is what gets included into the apache config if a user activates the |
13 |
> specific application. For example, the horde config block looks like this: |
14 |
> |
15 |
> max@ike webapps $ cat horde-apache.conf |
16 |
> Alias /horde /usr/share/webapps/horde/ |
17 |
> <Directory /usr/share/webapps/horde> |
18 |
> Allow from all |
19 |
> AllowOverride Limit |
20 |
> Options Indexes FollowSymLinks |
21 |
> php_flag safe_mode off |
22 |
> php_flag magic_quotes_gpc off |
23 |
> php_flag magic_quotes_runtime off |
24 |
> php_flag register_globals off |
25 |
> php_flag file_uploads on |
26 |
> php_value upload_max_filesize 50M |
27 |
> php_value include_path /usr/lib/horde-pear |
28 |
> </Directory> |
29 |
|
30 |
Thanks for the example - it helps a great deal. Now, how would you deal with |
31 |
a site needing to run two copies of horde under the one web server? |
32 |
|
33 |
> The whole reason for keeping config files under /etc is for CONFIG_PROTECT. |
34 |
> Multiple versions of any app would be handled the same way as all other |
35 |
> packages on Gentoo -- core files get overwritten in an upgrade and the |
36 |
> config files are updated through dispatch-conf/etc-update/manually. |
37 |
|
38 |
Yeah - but how do you handle sites (like ISPs) that need to run multiple |
39 |
installations of the same app on the same box? You can't have a single |
40 |
globla configuration file for that. Makes sense for the home user, but not |
41 |
for ISPs. |
42 |
|
43 |
> Right, but if the file itself gets rearranged constantly (as some apps do), |
44 |
> it may be difficult to maintain the patch. |
45 |
|
46 |
In ten years of maintaining apps, I've never found it a problem myself. But |
47 |
hey - it's not important ;-) |
48 |
|
49 |
> But again, this all depends on |
50 |
> the package at hand -- as stands right now everywhere else in gentoo, lets |
51 |
> do what is easier/more maintainable. |
52 |
|
53 |
Absolutely. Gentoo works *because* it is anarchy ;-) |
54 |
|
55 |
> > Last night, I thought I was sure. Unfortunately, waking up today I've |
56 |
> > forgotten ;-) I'll go back and re-read the thread. |
57 |
> |
58 |
> Don't you just hate when that happens :-) |
59 |
|
60 |
Yeah ;-) |
61 |
|
62 |
> Currently there's nothing in the eclass that is language specific other |
63 |
> than that check_php function (which, as I said before, I'd like to find a |
64 |
> replacement for). |
65 |
|
66 |
Well, PHP apps'll need to check for which PHP extensions are active from time |
67 |
to time. |
68 |
|
69 |
> Certainly. Perhaps if we don't find anything that is language specific |
70 |
> (which I have yet to see), we can take a different approach and do |
71 |
> webapp-<webservertype> |
72 |
|
73 |
See previous emails. I *really* don't support making any of this stuff |
74 |
webserver-specific in the ebuilds or eclasses ;-) A two-stage install - |
75 |
ebuilds to get apps onto the machine, user-space tools to install an app for |
76 |
a specific web server - are the way to go, imho. |
77 |
|
78 |
How do you make an app install on (say) Zeus or (say) iPlanet or (say) |
79 |
n.e.other web server if the ebuild itself is server-specific? We're boxing |
80 |
ourselves in, for no good reason. |
81 |
|
82 |
Gentoo's supposed to be about configurability. It even says so right at the |
83 |
top of www.gentoo.org. Let's not throw that out of the window just yet ;-) |
84 |
|
85 |
> > It can't be that difficult - it's only a web server. |
86 |
> |
87 |
> Isn't that on the list of "Famous Last Words" ? :-) |
88 |
|
89 |
Lots of laughter ;-) I hope not! |
90 |
|
91 |
Take care, |
92 |
Stu |
93 |
-- |
94 |
Stuart Herbert stuart@g.o |
95 |
Gentoo Developer http://www.gentoo.org/ |
96 |
Beta packages for download http://dev.gentoo.org/~stuart/packages/ |
97 |
|
98 |
GnuGP key id# F9AFC57C available from http://pgp.mit.edu |
99 |
Key fingerprint = 31FB 50D4 1F88 E227 F319 C549 0C2F 80BA F9AF C57C |
100 |
-- |