Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Confused about config file inclusion

Developers
2008-05-27
2013-01-05
  • Peter Sabaini
    Peter Sabaini
    2008-05-27

    Hi,
    I'm a bit confused about config file evaluation. If I call

    awstats.pl -config=somesite

    awstats presumably uses /etc/awstats/awstats.somesite.conf -- but will /etc/awstats/awstats.conf be automatically included?

    Thanks!
    peter.

     
    • Jean-Luc
      Jean-Luc
      2008-05-27

      Hi,

      AWStats will not use /etc/awstats/awstats.conf, if /etc/awstats/awstats.somesite.conf exists.

      You can include a config file in another config file with the "Include" directive.

      Jean-Luc
      http://www.internetofficer.com/awstats/

       
      • Peter Sabaini
        Peter Sabaini
        2008-05-27

        Thanks!
        (and sorry for posting in the wrong forum, must've clicked on the wrong link by accident)