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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file twodeg.recipe.apacheconf-0.2dev.tar.gz
.
File metadata
- Download URL: twodeg.recipe.apacheconf-0.2dev.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58b471765c1fc91ebf2f2d89b23956df6d53350bc6994013c3ad3cfc5cb22831 |
|
MD5 | fa08a59ca7c230288339bc458aa3752c |
|
BLAKE2b-256 | 4d5d616be9d57346a63e2779ce8ce53b36043d71cdfa3cf07f964ff27bcb5df8 |