public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Maciej Mrozowski <reavertm@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] webapp-config needs a new maintainer
Date: Wed, 10 Mar 2010 16:09:26 +0100	[thread overview]
Message-ID: <201003101609.27337.reavertm@gmail.com> (raw)
In-Reply-To: <477338b91003092252u4ed393dj483d4f2f7d9a526c@mail.gmail.com>

On Wednesday 10 of March 2010 07:52:28 Benedikt Böhm wrote:
> Hi!
> 
> On Wed, Mar 10, 2010 at 4:30 AM, Sebastian Pipping <sping@gentoo.org> wrote:
> > There are quite a few bugs open for it plus the latest version (1.50.18)
> > is not even in Gentoo but on SourceForge only.
> 
> The release on sourceforge is not compatible with the current
> implementation in Gentoo AFAIK.
> 
> > So your first task would be a proper bump and a maybe few bug fixes after:
> webapp-config is in a horrible shape and also has several design
> flaws. i wouldn't touch it. that's why i already added an idea to the
> GSoC list for a complete w-c rewrite. i talked to gunnar in 2008 or
> 2009 at chemnitz linux days, and we agreed that w-c needs a rewrite.
> but none of us had/has time to do it. hopefully gsoc can change this
> situation.

This issue always bothered me. Why do we need exclusive web-app config 
application that effectively mirrors what emerge is supposed to do?
I mean installation/removal/updates, and what's the most important config 
updates.
I see this solution suboptimal.
Don't bash me, maybe I'm obviously missing something but I'd really prefer 
simpler, Debian-like approach to webapps, so:
- web-apps installed in /usr/share instead of /var/www (is there any benefit 
from polluting /var/www with system-managed applications?)
- webapp-specific apache config installed in let's say /etc/apache2/conf.d/ 
and included from httpd.conf so that any application works out of the box 
(Alias directive may be suitable in example below)

(example entry for phppgadmin:)
<Directory /usr/share/phppgadmin/>
  DirectoryIndex index.php
  Options +FollowSymLinks
  AllowOverride None
  Order deny,allow
  Allow from all
  <IfModule mod_php5.c>
    php_flag magic_quotes_gpc Off
    php_flag track_vars On
    php_value include_path .
  </IfModule>
</Directory>

That file (apache config) as well as wep-app specific config file 
(/usr/share/phppgadmin/conf/config.inc.php) would be under config-protect, so 
any modifications are tracked.

It's obviously less flexible than webapp-config (no automatic vhosts handling 
- it would be installed initially for all vhosts, sure, one can easily 
configure that), but at least doesn't need webapp-config anymore.

-- 
regards
MM



  reply	other threads:[~2010-03-10 15:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-10  3:30 [gentoo-dev] webapp-config needs a new maintainer Sebastian Pipping
2010-03-10  5:23 ` Patrick Nagel
2010-03-10  6:52 ` Benedikt Böhm
2010-03-10 15:09   ` Maciej Mrozowski [this message]
2010-03-10 15:17     ` Benedikt Böhm
2010-03-10 15:19     ` Ciaran McCreesh

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=201003101609.27337.reavertm@gmail.com \
    --to=reavertm@gmail.com \
    --cc=gentoo-dev@lists.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