Solved

IIS 8.0 autentication and adding users

Posted on 2013-06-26
1
408 Views
Last Modified: 2013-07-23
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
Comment
Question by:jonathanduane2010
1 Comment
 
LVL 7

Accepted Solution

by:
gmrstudios2013 earned 450 total points
ID: 39335656
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now