From: Max Kalika <max@gentoo.org>
To: stuart@gentoo.org, Max Kalika <max@gentoo.org>,
Troy Dack <tad@gentoo.org>,
gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] [GLEP] Web Application Installation
Date: Sun, 03 Aug 2003 08:20:56 -0700 [thread overview]
Message-ID: <2147483647.1059898856@[192.168.26.4]> (raw)
In-Reply-To: <200308031546.22388.stuart@gentoo.org>
Howdy Stuart!
Quoting Stuart Herbert <stuart@gentoo.org>:
>> You want to mix the apache config block with other configuration files
>> that come with the application?
>
> /etc/webapps/<application>/ is the directory for the *application's*
> config files. Nothing to do with Apache per se.
Correct. I also create an apache config block as
/etc/webapps/<application>.conf
This is what gets included into the apache config if a user activates the
specific application. For example, the horde config block looks like this:
max@ike webapps $ cat horde-apache.conf
Alias /horde /usr/share/webapps/horde/
<Directory /usr/share/webapps/horde>
Allow from all
AllowOverride Limit
Options Indexes FollowSymLinks
php_flag safe_mode off
php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off
php_flag register_globals off
php_flag file_uploads on
php_value upload_max_filesize 50M
php_value include_path /usr/lib/horde-pear
</Directory>
> There is an alternative that should be considered. Maybe there shouldn't
> be an /etc/webapps directory at all, and the config files should live
> under the Document Root. Yes, this might be better. How would you
> support multiple installations of phpMyAdmin using a /etc/webapps/
> scheme?
The whole reason for keeping config files under /etc is for CONFIG_PROTECT.
Multiple versions of any app would be handled the same way as all other
packages on Gentoo -- core files get overwritten in an upgrade and the
config files are updated through dispatch-conf/etc-update/manually.
>> Yes! Which is why a patch is probably not always appropriate -- sed is
>> more resilient to pieces of configuration moving around upstream.
>
> Not sure I understand you here. A patch is applied against a known set
> of files. Portage only installs known sets of files. So a patch is no
> less appropriate than sed.
Right, but if the file itself gets rearranged constantly (as some apps do),
it may be difficult to maintain the patch. But again, this all depends on
the package at hand -- as stands right now everywhere else in gentoo, lets
do what is easier/more maintainable.
> Last night, I thought I was sure. Unfortunately, waking up today I've
> forgotten ;-) I'll go back and re-read the thread.
Don't you just hate when that happens :-)
> We're going to use the one eclass for CGIs, mod_perl-dependent,
> mod_python-dependent, and so on? Mmmm. That way lies pain and misery me
> thinks.
Currently there's nothing in the eclass that is language specific other
than that check_php function (which, as I said before, I'd like to find a
replacement for).
> I think we'll need a webapps-base eclass, and then a webapps-<language>
> set of eclasses. All the language-neutral stuff goes in the base, and
> everything else goes into each specific language eclass.
Certainly. Perhaps if we don't find anything that is language specific
(which I have yet to see), we can take a different approach and do
webapp-<webservertype>
> Just what webserver-specific configuration do these apps need? I'd hope
> that, for the vast majority of apps, it's little to none.
See above.
> It can't be that difficult - it's only a web server.
Isn't that on the list of "Famous Last Words" ? :-)
--mk
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2003-08-03 15:20 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-02 16:50 [gentoo-dev] [GLEP] Web Application Installation Troy Dack
2003-08-02 20:39 ` Robin H.Johnson
2003-08-02 23:11 ` [gentoo-dev] Re: [gentoo-core] " Max Kalika
2003-08-02 23:51 ` Stuart Herbert
2003-08-03 2:26 ` [gentoo-dev] " Max Kalika
2003-08-03 14:46 ` Stuart Herbert
2003-08-03 15:20 ` Max Kalika [this message]
2003-08-03 17:43 ` Stuart Herbert
2003-08-03 19:03 ` Max Kalika
2003-08-03 19:43 ` Stuart Herbert
2003-08-04 4:29 ` Max Kalika
2003-08-04 10:43 ` Stuart Herbert
2003-08-03 0:30 ` Austin Frank
2003-08-03 7:50 ` Tal Peer
2003-08-03 14:45 ` Don Seiler
2003-08-03 14:49 ` [gentoo-dev] Re: [gentoo-core] " Stuart Herbert
2003-08-05 3:46 ` Robin H.Johnson
2003-08-05 10:21 ` Stuart Herbert
2003-08-05 8:12 ` Troy Dack
-- strict thread matches above, loose matches on Subject: below --
2003-08-04 17:11 Max Kalika
2003-08-04 22:16 ` Stuart Herbert
2003-08-05 9:49 ` Michael Cummings
2003-08-04 23:16 Max Kalika
2003-08-05 0:14 ` Stuart Herbert
2003-08-05 2:30 ` Donny Davies
2003-08-05 10:12 ` Stuart Herbert
2003-08-06 4:01 ` Donny Davies
2003-08-05 3:04 ` Max Kalika
2003-08-05 10:39 ` Stuart Herbert
2003-08-05 9:34 ` Paul de Vrieze
2003-08-05 11:19 ` Stuart Herbert
2003-08-05 11:37 ` Paul de Vrieze
2003-08-05 21:00 ` Max Kalika
2003-08-05 23:43 ` Cal Evans
2003-08-06 1:54 ` Stuart Herbert
2003-08-06 2:16 ` Robin H.Johnson
2003-08-06 2:44 ` Stuart Herbert
2003-08-07 1:08 Troy Dack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='2147483647.1059898856@[192.168.26.4]' \
--to=max@gentoo.org \
--cc=gentoo-dev@gentoo.org \
--cc=stuart@gentoo.org \
--cc=tad@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox