httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: [PATCH] APACI: --permute-module=foo:bar
Date Thu, 22 Oct 1998 18:23:56 GMT
Ralf S. Engelschall wrote:
> 
> People often want to permute the order of modules. Sure, for the default
> modules we provide a reasonable order, but when you want to add third-party
> modules, you want to add it not always at the end of the module list.
> 
> For the good old edit-src/Configuration-manually approach of configuring this
> is trivial: Permute the AddModule lines in the editor. But APACI (especially
> --add-module) didn't provide this functionality in batch because when I wrote
> APACI initially I though this functionality cannot be done in a portable way
> with /bin/sh, awk and sed.  Recently people mailed me again that they would
> appreciate this functionality, so I thought about the implementation again and
> discovered that it can be done in a portable way. Not really an easy way and
> short (oneliner!) way, but at least in a portable way (which is more important
> for us than a few code lines more).

I'd've thought this would be a relatively straightforward application of
tsort.

Another advantage of using tsort would be that it could diagnose
misordering of modules for us.

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686| Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org/
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd,     |Apache-SSL author     http://www.apache-ssl.org/
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache/

WE'RE RECRUITING! http://www.aldigital.co.uk/

Mime
View raw message