Re: midgard-apache scfg vs dcfg

"Jukka Zitting" <[email protected]> Thu, 23 Feb 2006 15:04:36 +0200
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
Hi,

On 2/23/06, Piotras <[email protected]> wrote:
> I am not sure if I fully understand the difference between midgard_server_config
> and midgard_directory_config. What I am trying to fix now is PAM auth with trusted one.
>
> Shouldn't authtype be set as member of directory_config instead of server_config ?
> Or server_config and directory_config points to the same vhost?

Ideally we should be fine with just directory_config, it's much more
flexible than server_config and covers most use cases just as well.
The server_config stuff is a remnant of the time when I knew little of
Apache internals. Unfortunately the server_config has since grown
quite a lot, so refactoring it might be a bit error-prone.

PS. I'd very much like to have the apache*.h files moved from
midgard-core to midgard-apache*. There are a couple of nasty
interdependencies with midgard-php, but I suppose those could be
refactored away. Can we already start doing this or would it be better
to do it post-1.8?

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - [email protected]
Software craftsmanship, JCR consulting, and Java development