Slashdot Mirror


Configuring Apache From A Database?

nadachicken asks: "Has anyone found a module/solution to pull Apache configs from a database server? Currently I have a program that writes the flat file configs from the database but this seems like a waste of time if Apache could be rigged to pull the same info directly. I thought I had stumbled upon code to do this a while back, but I can't seem to find it again. If there is not such a package out there, any guess on how easy it would be to pull off?"

1 of 6 comments (clear)

  1. Yes, if you're using mod_perl by merlyn · · Score: 5

    mod_perl can provide computed configuration files on the fly, directly from any database supported by DBI, for example, or even just computationally derived. There's examples of such in the mod_perl docs.