<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									AWstats (401) Unauthorized - General Questions				            </title>
            <link>https://solidcp.com/forum/question/awstats-401-unauthorized/</link>
            <description>SolidCP Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 16 Mar 2026 06:02:09 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Answer: AWstats (401) Unauthorized</title>
                        <link>https://solidcp.com/forum/question/awstats-401-unauthorized/paged/3/#post-8140</link>
                        <pubDate>Sat, 11 Jul 2020 15:00:12 +0000</pubDate>
                        <description><![CDATA[I have the same problem on Win 2019
Error while opening &#039;http://stat.domain/cgi-bin/awstats.pl?config=domain&#039;: The remote server returned an error: (404) Not Found.


windows auth= is Disabl...]]></description>
                        <content:encoded><![CDATA[I have the same problem on Win 2019
Error while opening 'http://stat.domain/cgi-bin/awstats.pl?config=domain': The remote server returned an error: (404) Not Found.
<span></span>

<span>windows auth= is Disable
</span>App pool is ApplicationPoolIdentity

Removed Web-v2.0.conf from C:AWStats
Removed UpdateStats.bat from C:AWStats

On C:AWStatswwwrootweb.config &lt;add key="AWStats.SolidCPAuthenticationProvider.EnterpriseServer" value="http://x.x.x.x:9002" /&gt;

DataFolder" value="C:AWStatsdata"

how can I solve this problem?]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>yalxin28</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/awstats-401-unauthorized/paged/3/#post-8140</guid>
                    </item>
				                    <item>
                        <title>Answer: AWstats (401) Unauthorized</title>
                        <link>https://solidcp.com/forum/question/awstats-401-unauthorized/paged/3/#post-5059</link>
                        <pubDate>Mon, 15 Jan 2018 17:44:32 +0000</pubDate>
                        <description><![CDATA[what was the method used to resolve this issue?

We have same problem and it&#039;s seems like we can&#039;t solve it. The funny part is we have 2 nodes and one is working while another isn&#039;t. It se...]]></description>
                        <content:encoded><![CDATA[what was the method used to resolve this issue?

We have same problem and it's seems like we can't solve it. The funny part is we have 2 nodes and one is working while another isn't. It seems like both have same configuration.]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>arshiasp</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/awstats-401-unauthorized/paged/3/#post-5059</guid>
                    </item>
				                    <item>
                        <title>Answer: AWstats (401) Unauthorized</title>
                        <link>https://solidcp.com/forum/question/awstats-401-unauthorized/paged/3/#post-3022</link>
                        <pubDate>Tue, 22 Nov 2016 17:53:39 +0000</pubDate>
                        <description><![CDATA[I have solved it i have a write up here.]]></description>
                        <content:encoded><![CDATA[I have solved it i have a write up here.

https://solidcp.com/forum/question/awstat-installation-guide-win-2016/]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>King-Dude</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/awstats-401-unauthorized/paged/3/#post-3022</guid>
                    </item>
				                    <item>
                        <title>Comment: AWstats (401) Unauthorized</title>
                        <link>https://solidcp.com/forum/question/awstats-401-unauthorized/paged/3/#post-8967</link>
                        <pubDate>Fri, 04 Nov 2016 19:09:23 +0000</pubDate>
                        <description><![CDATA[Hi, I have finally started setting up our new enviroment using the Powerhell script that i have written and i can say that the new version of the script has setup AWstats perfectly and witho...]]></description>
                        <content:encoded><![CDATA[Hi, I have finally started setting up our new enviroment using the Powerhell script that i have written and i can say that the new version of the script has setup AWstats perfectly and without any issues. Could you try downloading the latest version of the script and try setting up a new server. Just for reference, my AWstats server is joined tot he same domain as our Portal Server. Also please make sure you set the variables at the top of the script with your enviroment values. The Portal, Enterprise Server and Stats Server must be IPV4 addresses. Kind regards, Marc]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>DatatechUK</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/awstats-401-unauthorized/paged/3/#post-8967</guid>
                    </item>
				                    <item>
                        <title>Answer: AWstats (401) Unauthorized</title>
                        <link>https://solidcp.com/forum/question/awstats-401-unauthorized/paged/3/#post-2899</link>
                        <pubDate>Mon, 24 Oct 2016 17:09:40 +0000</pubDate>
                        <description><![CDATA[Hi, Datatech.

I have change those settings in my config file but it seems not to be my problem.

(I have backslash, but this forum is removing it)

Can you tell me about your configuration....]]></description>
                        <content:encoded><![CDATA[Hi, Datatech.

I have change those settings in my config file but it seems not to be my problem.

(I have backslash, but this forum is removing it)

Can you tell me about your configuration.

Are you having only Anonomys access with user IUSR?

What catalogs in Awstat folder do that user have permisson to and type of permissions?

Are you running Perl64?

Regards

Pelle]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>King-Dude</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/awstats-401-unauthorized/paged/3/#post-2899</guid>
                    </item>
				                    <item>
                        <title>Answer: AWstats (401) Unauthorized</title>
                        <link>https://solidcp.com/forum/question/awstats-401-unauthorized/paged/3/#post-2885</link>
                        <pubDate>Mon, 24 Oct 2016 12:00:32 +0000</pubDate>
                        <description><![CDATA[Hi,

I have spun up a Server 2016 Virtal Machine and all looks fine, but i have noticed that 2 values were not set in theweb.config file.

Culd you open the C:AWStatswwwrootweb.config file a...]]></description>
                        <content:encoded><![CDATA[Hi,

I have spun up a Server 2016 Virtal Machine and all looks fine, but i have noticed that 2 values were not set in theweb.config file.

Culd you open the C:AWStatswwwrootweb.config file and change the following nodes:-
&lt;add key="AWStats.ConfigFileAuthenticationProvider.DataFolder" value="~/cgi-bin"/&gt;

&lt;add key="AWStats.SolidCPAuthenticationProvider.EnterpriseServer" value="http://localhost/EnterpriseServer"/&gt;

&nbsp;

The <strong>DataFolder</strong> needs to be C:/AWStats/data   - (Replace the ForwardSlash with BackSlash)
The <strong>EnterpriseServer</strong> needs to be the URL of your Enterprise Server (including port), I.E. this would be something like <em><span style="text-decoration: underline">http://192.168.0.1:9002</span></em>

&nbsp;

Please try the above and let me know hw you get on as i have just written this into the latest version of the script which i will be releasing tomorrow after some more testing.

Kind regards,
Marc]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>DatatechUK</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/awstats-401-unauthorized/paged/3/#post-2885</guid>
                    </item>
				                    <item>
                        <title>Answer: AWstats (401) Unauthorized</title>
                        <link>https://solidcp.com/forum/question/awstats-401-unauthorized/paged/2/#post-2894</link>
                        <pubDate>Sun, 23 Oct 2016 19:20:58 +0000</pubDate>
                        <description><![CDATA[I have turned that off.
 	

Your script is setting IUSR but that dosent work. (Even if that user have permission in folder)

If i put user application pool identity and add this user full co...]]></description>
                        <content:encoded><![CDATA[<ol>
 	<li>I have turned that off.</li>
 	<li></li>
</ol>
Your script is setting IUSR but that dosent work. (Even if that user have permission in folder)

If i put user application pool identity and add this user full control on the whole mapp c:AWStats

Same result. 401

There is a application pool user SolidCP Awstats .NET v4 (from script)

That Application pool Identity is the same result 401

If i set the user Administrator then i can klick from inside SolidCP and view statistic (This is probably it dosent even try to login to solidcp) but i cant login if i going to the default startpage of Awstats with doman, user , password.(If i write something wrong then it says so, but if its correct its just like a reload off page)

This is some other things that wasent correct from standard installation

Your script is installing Perl64 and the catalog is c:Perl64 insted of just c:Perl

And i have changed that in SolidCP.

And another thing is that the log files of IIS is starting with u_ex and not ex

I have change that to.

And <span>Statistics Help URL: i have removed "/Awstat" catalog so now its pointing like this
</span>

http://mydomain.com/cgi-bin/awstats.pl?config=&#091;domain_name&#093;

Well im total stuck here with 401.]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>King-Dude</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/awstats-401-unauthorized/paged/2/#post-2894</guid>
                    </item>
				                    <item>
                        <title>Answer: AWstats (401) Unauthorized</title>
                        <link>https://solidcp.com/forum/question/awstats-401-unauthorized/paged/2/#post-2893</link>
                        <pubDate>Sun, 23 Oct 2016 16:27:08 +0000</pubDate>
                        <description><![CDATA[Well with that error i would check 2 things:

 	i see you got windows auth enabled - You can&#039;t (or shouldn&#039;t) really have that together with anonymous auth (so normally you leave it disabled...]]></description>
                        <content:encoded><![CDATA[Well with that error i would check 2 things:
<ol>
 	<li>i see you got windows auth enabled - You can't (or shouldn't) really have that together with anonymous auth (so normally you leave it disabled)</li>
 	<li>your anonymous auth: what username does it use? and does that user have permissions to your directory? (if it uses application pool identity --&gt; check the application pool user)</li>
</ol>
As the error generally just indicates a lack of permission of the user IIS is using.]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>Marco Tiggelaar</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/awstats-401-unauthorized/paged/2/#post-2893</guid>
                    </item>
				                    <item>
                        <title>Answer: AWstats (401) Unauthorized</title>
                        <link>https://solidcp.com/forum/question/awstats-401-unauthorized/paged/2/#post-2889</link>
                        <pubDate>Sun, 23 Oct 2016 14:22:16 +0000</pubDate>
                        <description><![CDATA[This is my config file.

&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;configuration&gt;
&lt;appSettings&gt;
&lt;!-- AWStats Viewer Settings --&gt;
&lt;add key=&quot;AWStats.URL&quot; value=&quot;/cgi-b...]]></description>
                        <content:encoded><![CDATA[This is my config file.

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;configuration&gt;
&lt;appSettings&gt;
&lt;!-- AWStats Viewer Settings --&gt;
&lt;add key="AWStats.URL" value="/cgi-bin/awstats.pl" /&gt;
&lt;add key="AWStats.Username" value="" /&gt;
&lt;add key="AWStats.Password" value="" /&gt;
&lt;!-- Messages --&gt;
&lt;add key="AWStats.Message.DomainNotFound" value="Advanced statistics is not enabled for the specified domain. Login to control panel, open 'My Resources -&gt; Advanced Statistics' page and add a new statistics site." /&gt;
&lt;add key="AWStats.Message.WrongUsername" value="Account with the specified username does not exist! Make sure you type correct Control Panel username/password." /&gt;
&lt;add key="AWStats.Message.WrongPassword" value="Incorrect password has been specified!" /&gt;
&lt;!-- Authentication provider --&gt;
&lt;add key="AWStats.AuthenticationProvider" value="SolidCP.AWStats.Viewer.SolidCPAuthenticationProvider, SolidCP.AWStats.Viewer" /&gt;
&lt;!-- ConfigFileAuthenticationProvider settings --&gt;
&lt;add key="AWStats.ConfigFileAuthenticationProvider.DataFolder" value="c:AWStatsdata" /&gt;
&lt;!-- SolidCPAuthenticationProvider settings --&gt;
&lt;add key="AWStats.SolidCPAuthenticationProvider.EnterpriseServer" value="http://192.XXX.XXX.1:9002" /&gt;
&lt;/appSettings&gt;
&lt;system.web&gt;
&lt;compilation defaultLanguage="c#" debug="true" targetFramework="4.0" /&gt;
&lt;customErrors mode="RemoteOnly" /&gt;
&lt;!--  AUTHENTICATION --&gt;
&lt;authentication mode="Windows"&gt;
&lt;forms name=".AWSTATSVIEWER" loginUrl="default.aspx" protection="All" timeout="30" path="/"&gt;
&lt;/forms&gt;
&lt;/authentication&gt;
&lt;!--  AUTHORIZATION --&gt;
&lt;authorization&gt;
&lt;allow users="*" /&gt;
&lt;!-- Allow all users --&gt;
&lt;/authorization&gt;
&lt;pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" /&gt;&lt;/system.web&gt;
&lt;system.webServer&gt;
&lt;security&gt;
&lt;authentication&gt;
&lt;windowsAuthentication enabled="true" /&gt;
&lt;/authentication&gt;
&lt;/security&gt;
&lt;/system.webServer&gt;
&lt;/configuration&gt;]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>King-Dude</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/awstats-401-unauthorized/paged/2/#post-2889</guid>
                    </item>
				                    <item>
                        <title>Answer: AWstats (401) Unauthorized</title>
                        <link>https://solidcp.com/forum/question/awstats-401-unauthorized/paged/2/#post-2888</link>
                        <pubDate>Sun, 23 Oct 2016 14:20:09 +0000</pubDate>
                        <description><![CDATA[Hi,

Same error
HTTP Error 401.3 - Unauthorized
You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for th...]]></description>
                        <content:encoded><![CDATA[Hi,

Same error
HTTP Error 401.3 - Unauthorized
You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.
Detailed Error Information:




Module
   CgiModule


Notification
   ExecuteRequestHandler


Handler
   Perl_Script_Map_PL


Error Code
   0x80070005








Requested URL
   http://webstat.nwi.se:80/cgi-bin/awstats.pl?config=client80.xxxx.com


Physical Path
   C:AWStatswwwrootcgi-binawstats.pl


Logon Method
   Anonymous


Logon User
   Anonymous]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>King-Dude</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/awstats-401-unauthorized/paged/2/#post-2888</guid>
                    </item>
							        </channel>
        </rss>
		