Centralized pyblosxom install. Ideas?
Ray Van Dolson <[email protected]> Sun, 22 Feb 2009 23:22:20 -0800
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello all; I'm packaging up pyblosxom for Fedora (surprised it's not already there) and am pondering how best to set up the "default" configuration. I'd like to avoid having to make users copy the pyblosxom.cgi file to their home directories, but instead just be able to create a local config.py and have pyblosxom.cgi read that in directly in a "smart" way. I was thinking this might involve calling SetEnv from my pyblosxom Apache config file and setting an enviornment variable CUSTOM_PATH or something with the path to the user's config file in it (determined via some process). I'd only need a simple modification to pyblosxom.cgi to check for this environment variable... Any suggestions in this area? Any work being done to make pyblosxom a bit more "centralized" in this way? I have run across other[1] solutions as well but I'm not sure if they're any less "hacky" than the one I'm proposing. Thanks in advance. Ray [1] http://kindergarten.madduck.net/configs/pyblosxom ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H