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 details)

Uploaded Source

File details

Details for the file twodeg.recipe.apacheconf-0.2dev.tar.gz.

File metadata

File hashes

Hashes for twodeg.recipe.apacheconf-0.2dev.tar.gz
Algorithm Hash digest
SHA256 58b471765c1fc91ebf2f2d89b23956df6d53350bc6994013c3ad3cfc5cb22831
MD5 fa08a59ca7c230288339bc458aa3752c
BLAKE2b-256 4d5d616be9d57346a63e2779ce8ce53b36043d71cdfa3cf07f964ff27bcb5df8

See more details on using hashes here.

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