Don't ask to ask, just ask | |
PerlMonks |
Re: Re: Re: Running Perl scripts from a single CGI-BIN, on a multiple-virtual hosting serverby Masem (Monsignor) |
on Oct 02, 2001 at 18:39 UTC ( [id://116141]=note: print w/replies, xml ) | Need Help?? |
Ok, here's another suggestion: make several levels of config files; one file at the global level, one per v.server at the server level, and possibly a third file local on the v.server's directory for local changes. The order that you'd search these is up to you; if none of the configuration settings are security related parameters, I'd first search user, then v.server, then global; otherwise, you could play around with flagging certain configuration variables that can only be set in the global or v.server files.
This would allow changing one config parameters across a site at one file, while also allowing the end user some ability to configure their site as well.
-----------------------------------------------------
In Section
Seekers of Perl Wisdom
|
|