• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 429
  • Last Modified:

IIS 8.0 autentication and adding users

Hi guys,

I have server 2012 with IIS 8.0 installed and i have installed AWstats and i want to allow users to log in and check with a username and password, can that be done through IIS or through the AWstats config?

this is the section of the config file and i have put in the right citeria, i think!

AllowAccessFromWebToAuthenticatedUsersOnly=1


# This parameter gives 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="administrator"


# When this parameter is defined to something, the IP address of the user that
# reads 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="213.146.164.195"

Open in new window


but when i go to http://31.14.40.241:1388/cgi-bin/awstats.pl?config=irishradio

i get the error thats showing up

Also i cant see where you add users in IIS 8.0?

any help appreciate
0
jonathanduane2010
Asked:
jonathanduane2010
1 Solution
 
gmrstudios2013Commented:
Are you referring to the 401 error?

I don't believe the feature you are looking for (URL Authorization) is installed by default in IIS 8.0.

Could you make sure that the feature is installed? In Server Manager you should be able to add that feature to IIS (World Wide Web Services > Security >URL Authorization)

Once enabled URL Authorization allows you to create rules that restrict access to Web content. You can bind these rules to users, groups, or HTTP header verbs. By configuring URL authorization rules, you can prevent users who are not members of certain groups from accessing content or interacting with Web pages.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now