Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Guidance on updating apache config files

by hippo (Bishop)
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 (Parson) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1184997]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2023-09-26 11:50 GMT
Find Nodes?
    Voting Booth?

    No recent polls found