Forum

AWstats (401) Unaut...
 
Notifications
Clear all

AWstats (401) Unauthorized

Page 1 / 3

King-Dude
Posts: 40
Topic starter
(@king-dude)
Eminent Member
Joined: 5 years ago

Hi,

 

I have installed Awstat with your latest scrip 1.1.1 on a new windows 2016 server.

 

Everything seems Ok, Perl is working etc but if i trying to login from the default page i get

 

Error while opening 'http://My server IP /cgi-bin/awstats.pl?config=mydomain.se': The remote server returned an error: (401) Unauthorized.

 

Or when i click on the button in the user i get Unauthorized to.

This is something with Security setting for the account that runs under AWstat server now it is IUSR (The script generated that) under Authentication/Anonymous Authentication

(I tested to set the administrator account there and then i could login without problem just to see that it was not anything else that made the problem)

Any tip about getting this working?

15 Replies
DatatechUK
Posts: 32
Moderator
(@datatechuk)
Member
Joined: 6 years ago

Hi,

We have only tested the script on Server 2012 R2 for installation purposes, but ti should work perfectly fine on Server 2016.

I am just setting up a new enviroment to do the final tests on some additional bits we are adding to the PowerShell script, i will double check the AwStats part to make sure it is working as required, but this will be on Server 2012 R2.

Did you reboot the server after running the script?

Kind regards,
Marc

Reply
King-Dude
Posts: 40
Topic starter
(@king-dude)
Eminent Member
Joined: 5 years ago

Hi,

Yes, i have rebooted the server, i have tested the script both on a singelserver installation and in a multiserver setup and its the same behavior.

I have tested to set diffrent users read rights like everyone etc on the catalog wwwroot in awstat but that did not help anything, i tested to set Application pool anonymys access and that did not help either.

Reply
King-Dude
Posts: 40
Topic starter
(@king-dude)
Eminent Member
Joined: 5 years ago

Any news about this?

Reply
DatatechUK
Posts: 32
Moderator
(@datatechuk)
Member
Joined: 6 years ago

Hi,

I still haven't had chance to test this on Server 2016 yet.

Could you try running the script on Server 2012 R2 as i have just deployed AWstats on one and it worked perfectly.

I hope to have a play with Server 2016 over the weekend providing this week all goes well.

Kind regards,
Marc

Reply
Page 1 / 3
Share:
Downloads

Login

Lost your password?

Create an account?