~ubuntu-branches/ubuntu/quantal/awstats/quantal

« back to all changes in this revision

Viewing changes to debian/README.Debian

  • Committer: Package Import Robot
  • Author(s): Sergey B Kirpichev
  • Date: 2011-10-29 16:43:28 UTC
  • Revision ID: package-import@ubuntu.com-20111029164328-us8n3qfb070hitzm
Tags: 7.0~dfsg-3
* Bump up Standards-Version (to 3.9.2)
* Removed .gitignore
* Replace /usr/share/doc/awstats/html/awstats_changelog.txt.gz by
  symlink to avoid lintian warning
* Include patches/1016_downloads_list_page.patch to generate
  "Downloads Full list" page (Closes: #638857)
* Refresh patches with --no-index --no-timestamps -pab --diffstat
* Include patches/1017_fix_html_output_markup.patch to fix some output
  issues (Closes: #630943)
* Update copyright for debian/* files
* Minor tweaks of debian/README.Debian
* Add some hints to restrict access to /cgi-bin/awstats.pl (Closes:
  #590953)

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
    logfiles
11
11
  * Copy /usr/share/doc/awstats/examples/apache.conf to
12
12
    /etc/apache2/conf.d/awstats.conf
 
13
  * Restrict access to Location /cgi-bin/awstats.pl with
 
14
    password-based authentication or via host access control.  Please
 
15
    read "Authentication, Authorization and Access Control" on the
 
16
    Apache docs website http://httpd.apache.org/docs/ to see available
 
17
    opportunities.
13
18
 
14
19
Optionaly edit /etc/default/awstats to disable nightly build of static
15
20
html reports (placed in /var/cache/awstats/).
58
63
 
59
64
    prerotate
60
65
      if [ -x /usr/share/awstats/tools/update.sh ]; then
61
 
        su - -c /usr/share/awstats/tools/update.sh www-data
 
66
        su -l -c /usr/share/awstats/tools/update.sh www-data
62
67
      fi
63
68
    endscript
64
69
 
98
103
 
99
104
    To retain use of a common config file containing defaults for all
100
105
    of your sites, consider a scheme such as the following:
101
 
 
 
106
 
102
107
    Make a bunch of awstats.[site_name_here].conf files, and have the
103
108
    first line include the parent awstats.conf file (which by default
104
109
    also includes awstats.conf.local).  The remainder of the file
105
110
    should have your site-specific configuration settings, which
106
111
    override the defaults specified in awstats.conf and
107
112
    awstats.conf.local.
108
 
 
 
113
 
109
114
    Here is an example of an awstats.example.com.conf file (of course,
110
115
    tailor the file for your own configuration):
111
 
    
 
116
 
112
117
        Include "/etc/awstats/awstats.conf"
113
118
        SiteDomain="example.com"
114
119
        HostAliases="example.com www.example.com"