Recommended Practices for Managing httpd.conf for different environments

Posted by James Kingsbery on Server Fault See other posts from Server Fault or by James Kingsbery
Published on 2011-01-11T21:57:05Z Indexed on 2011/01/11 22:55 UTC
Read the original article Hit count: 238

Filed under:
|

We have several different environments (developer dekstop, integration, QA, prod) which should have slightly different variants of the same httpd.conf file. As an example, the httpd.conf file configures that httpd should act as a reverse proxy and proxy certain URLs to Jetty, but the hostname of the Jetty instance is different in each environment.

Is there a recommended practice for mangaging these kinds of differences? I looked around the apache documentation for the httpd.conf file and I didn't see anything that does what I need.

© Server Fault or respective owner

Related posts about apache2

Related posts about env