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)

         

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks