Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-27-2012, 02:20 PM   #1
Registered: Aug 2009
Posts: 42

Rep: Reputation: 16
Is there a more dynamic way to manage Apache configs?

We have used the apache web server for some time now, and have written many scripts to pull information out of a database and generate virtualhost config files, webdav config files, ssl config files, etc. I am wondering if there is a more dynamic way to interact with apache configs, such that apache might use a database for it's configuration, or put these configs on an NFS share that all the servers in our network can see, or use a configuration management tool like Chef or Puppet to distribute them?

Looking for experiences, ideas, and theories on a better way to manage apache. Any suggestions on a different web server that supports webdav, and is more flexible in it's configuration are welcome as well.
Old 01-27-2012, 03:39 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
well there are plenty of Puppet modules written to do this. Personally I would say these things are more hassle that they're worth. You can write a bunch of independent config files to drop them into conf.d. Managing distribution of these files by puppet is easy enough, but my own efforts to dynamically create them through templates was often more trouble than it's worth. if you think your virtual hosts are going to be VERY standardised, then you may like to use puppet dashboard of foreman to allow you to pull config from a web gui through to templated puppet configs. But only if its very standard.

Last edited by acid_kewpie; 01-27-2012 at 03:40 PM.


apache, webserver

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using MySQL to manage rewrites for Apache bahbahthelamb Linux - Server 2 03-08-2010 12:19 PM
NOOB: Apache Configs (Everythiung) Daveyon Red Hat 1 02-25-2009 07:57 AM
LXer: Manage Apache Pluto within Geronimo LXer Syndicated Linux News 0 07-21-2007 08:01 AM
manage PHP-cronjobs with apache didi86 Linux - Networking 3 02-20-2005 03:24 PM
Red Hat DNS and Apache configs woolymooly Linux - Software 8 09-15-2003 01:15 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration