Re: [viewvc-users] Configurable config file location?

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <4C487CC9.3000900__20461.9209784598$1279818965$gmane$org@collab.net>
On 07/22/2010 11:05 AM, John Beranek wrote:
> On 21/07/10 20:32, C. Michael Pilato wrote:
>> On 07/19/2010 04:26 PM, John Beranek wrote:
>>> My thought was that I'd change the code to allow the config file
>>> location to be overridden by an environment variable. Looking at the
>>> code it looks like there's already some kind of support for this. Is it
>>> true that I only need to change all the places that define CONF_PATHNAME
>>> to define it as "None"?
>>>
>>> If so, I could then set VIEWVC_CONF_PATHNAME in the Apache config, and
>>> have multiple "viewvc.conf" files, one for each site. This would
>>> certainly be an advance.
>>
>> Yup.  You can do that today.
> 
> Hmm, unless I'm very much mistaken, this doesn't work in a mod_python
> ViewVC installation.

Ooh... I hadn't consider mod_python or mod_wsgi deployments.  SetEnv is only
good for CGI scripts, methinks.


-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2636994

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkxIfMkACgkQokEGqRcG/W7LoACfUSFpArz4m8bS2m2CoVIAaHDw
EVwAoJfdggaTllZWpJK0H9KWnC6z+dVk
=AuGh
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.