diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-04-09 19:18:04 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-04-09 19:18:04 +0000 |
commit | eb8968e8c0ac13c07483c89741111d36bc8d6547 (patch) | |
tree | 7777260149b56d6109e8317358f34c8fe7038386 /www-misc/awstats/files/postinst-en-r1.txt | |
parent | Package move awstats to www-misc. (diff) | |
download | gentoo-2-eb8968e8c0ac13c07483c89741111d36bc8d6547.tar.gz gentoo-2-eb8968e8c0ac13c07483c89741111d36bc8d6547.tar.bz2 gentoo-2-eb8968e8c0ac13c07483c89741111d36bc8d6547.zip |
Fix previous commit.
(Portage version: 2.2_rc28/cvs/Linux i686)
Diffstat (limited to 'www-misc/awstats/files/postinst-en-r1.txt')
-rw-r--r-- | www-misc/awstats/files/postinst-en-r1.txt | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/www-misc/awstats/files/postinst-en-r1.txt b/www-misc/awstats/files/postinst-en-r1.txt new file mode 100644 index 000000000000..94a36aa10e05 --- /dev/null +++ b/www-misc/awstats/files/postinst-en-r1.txt @@ -0,0 +1,67 @@ +### +# INSTRUCTIONS: +# +# If you would like to require authentication to access AWStats, then use ONE +# of the example configurations below. There are many other modules and +# options for authentication which will not be discussed here. +# +# NOTE: Related AWStats configuration directives are: +# +# AllowAccessFromWebToAuthenticatedUsersOnly=1 +# AllowAccessFromWebToFollowingAuthenticatedUsers="user1 [user2 ...]" +# +# You can use these to set a per-domain user access when needed for virtual +# hosting. That means: only the selected user(s) will have access to stats for +# the particular domain. All other users will not be allowed to see the domain +# stats even though they have authenticated successfully. +### + +### +# SECTION I - Basic Authentication +# +# The following example requires mod_auth (apache 2.0) or mod_auth_basic +# (apache 2.2) to work. Make sure you have installed and enabled it in +# /etc/apache2/httpd.conf +# +# Add your AWStats users to /etc/awstats/.htpasswd file. +# Please see 'man htpasswd2' for more details if you need. +# +# htpasswd2 -c /etc/awstats/.htpasswd username1 htpasswd2 +# /etc/awstats/.htpasswd username2 etc... +### + +#<Location "/cgi-bin/awstats.pl"> +# AuthType Basic +# AuthName "AWStats authenticated zone" +# AuthUserFile /etc/awstats/.htpasswd +# Require valid-user +#</Location> + +### +# SECTION II - Digest Authentication +# +# The following example requires mod_auth_digest to work. Make sure you have +# installed and enabled it in /etc/apache2/httpd.conf +# +# Do not forget to replace www.example.com as appropriate. You can also add as +# many domains as you need to this line. +# +# Add your AWStats users to /etc/awstats/.htdigest file. Please see 'man +# htdigest2' and http://httpd.apache.org/docs-2.0/mod/mod_auth_digest.html for +# more details if you need. +# +# htdigest2 -c /etc/awstats/.htdigest "AWStats authenticated zone" username1 +# htdigest2 /etc/awstats/.htdigest "AWStats authenticated zone" username2 +# etc... +### + +#<Location "/cgi-bin/awstats.pl"> +# AuthType Digest +# AuthName "AWStats authenticated zone" +# AuthDigestFile /etc/awstats/.htdigest +# AuthDigestDomain http://www.example.com https://www.example.com +# require valid-user +# # The following line is REQUIRED to work around a bug in MSIE. +# # See http://httpd.apache.org/docs-2.0/mod/mod_auth_digest.html +# BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On +#</Directory> |