Skip to main content

An apache VirtualHost config generator

Project description

Motivation

We’re deploying multiple test/staging servers using django and it’s a pain to have lots of apache confs lying around which are almost exactly the same.

The only things that are different are the IP addresses, server names and, if using buildout (which is kind of the whole point of this), the python path and packages. So a valid approach would be to put your apache conf somewhere under your buildout directory and have it built at the same time as you buildout your project.

There’s already a nice recipe that does this z3c.recipe.filetemplate. So this recipe is subclassing from that and using zc.recipe.egg to add a python_path value to the options. This is done by setting the eggs and extra-paths values in the recipe.

This is just an internal project so there’s no bug tracker, mailing list etc. I hope that someone finds it useful, please contact me it you do or wish to make changes to it.

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twodeg.recipe.apacheconf-0.2dev.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page