Назад | Перейти на главную страницу

защита паролем awstats

в файле awstat.domain.conf, каким должно быть значение

AllowAccessFromWebToFollowingAuthenticatedUsers =

что я должен здесь положить

текущее значение пусто, и я получаю

Error: Access to statistics is only allowed from an authenticated session to authenticated users.

Setup ('/etc/awstats/awstats.domain.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory). 
AllowAccessFromWebToAuthenticatedUsersOnly=0


# This parameter give the list of all authorized authenticated users to view
# statistics for this domain/config file. This parameter is used only if
# AllowAccessFromWebToAuthenticatedUsersOnly is set to 1.
# Change : Effective immediatly
# Example: "user1 user2"
# Example: "__REMOTE_USER__"
# Default: ""
#
AllowAccessFromWebToFollowingAuthenticatedUsers=""
# When this parameter is define to something, the IP address of the user that
# read its statistics from a browser (when AWStats is used as a CGI) is
# checked and must match one of the IP address values or ranges.
# Change : Effective immediatly
# Example: "127.0.0.1 123.123.123.1-123.123.123.255"
# Default: ""
#
AllowAccessFromWebToFollowingIPAddresses=""