Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Guidance on updating apache config files

by hippo (Abbot)
on Mar 17, 2017 at 09:17 UTC ( #1184997=note: print w/replies, xml ) Need Help??

in reply to Guidance on updating apache config files

I'd be particularly interested to know if learning something like Template::Toolkit or other general purpose tools might allow me to intelligently handle updating config files in general.

Template Toolkit is precisely what I use when building Apache config files from within Perl. IMHO it is worth the (not inconsiderable) time required to learn it as it is so flexible you will subsequently find it useful for all manner of other scenarios.

Conversely for parsing the config files I recommend Apache::Admin::Config which seems to work reasonably well in most cases.

  • Comment on Re: Guidance on updating apache config files

Replies are listed 'Best First'.
Re^2: Guidance on updating apache config files
by nysus (Priest) on Mar 17, 2017 at 12:23 UTC

    Ok, thanks. That answers my questions perfectly. I was thinking about looking into Template::Toolkit but was worried about investing a lot of time learning something that ends up being unsuitable. I will go this route.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1184997]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2018-03-23 07:44 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (288 votes). Check out past polls.