From: Joe C. <jo...@sw...> - 2001-03-23 03:43:20
|
Ok. I can do that. I just thought I was doing something wrong (as is usually the case when I try to read and interpret perl). But if hardcoding the path (if unknown) is the Right Way, then I'm happy to say I've already implemented it the Right Way. ;-) Thanks. Jamie Cameron wrote: > Joe Cooper wrote: > >> Hey folks, >> >> I've just started a new module... >> >> I'd like to pull in the configs from Apache, DNS, and Sendmail using >> foreign_config. I've started with Apache. It is working, but only for >> the values that are actually set...those that are 'Automatic' are not >> included in the configuration that is pulled in. >> >> How do I pull in all of the configuration (both the defaults for the OS, >> and the manual settings)? > > > Options that are set to Automatic are not in the configuation, because it > is up to the code to work them out. For example, if the 'Path to httpd.conf file' > option is set to automatic, then the code should read the file > $config{'httpd_dir'}/etc/httpd.conf instead. Unfortunately, this relative path > is hard-coded rather than being in a config file somewhere :( > > - Jamie > > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel -- -- Joe Cooper <jo...@sw...> Affordable Web Caching Proxy Appliances http://www.swelltech.com |