Knowledge Essentials - 3Essentials Hosting

Plesk Statistics return 404 with DNN 7.1 and up

Article ID: 2244

 Back to Search

Symptom
Plesk Web Statistics does not load when you have DNN 7.1 and aboveadvanced URL's in effect
 
Resolution
Since Plesk tries to load the web statistics using the customer's domain without specifying the document, instead relying on the default document settings to find the directory's "index.html file", i.e. yourdomain.com/plesk-stat/webstat   As a result, DNN's URL rewriting assumes it's an extentionless URL and applies its URL rewriting rules to it.  This results in a 404, file not found. 
 
There are two possible solutions:
 
A) Access the statistics by specifying the default document for the webstat folder as part of the URL, i.e.:
 
http://yourdomain.com/plesk-stat/webstat/index.html
 
B) log in to DNN with superuser, and go to Host->SQL and execute the following script:
 
insert into {databaseOwner}{objectQualifier}hostsettings
(SettingName
, SettingValue
, SettingIsSecure 
, CreatedByUserId
, CreatedOnDate
, LastModifiedByUserId
, LastModifiedOnDate
)
values(
'AUM_DoNotRewriteRegEx'
,'/DesktopModules/|/Providers|/LinkClick\.aspx|/plesk-stat'
, 0
, -1
, GETDATE()
, -1
, GETDATE()
)
 
You must then recycle your application pool to get DNN to pick up on the new URL rewrite exclusion. 
 
 
Downloads Associated With This Article
No downloads are currently associated with this article.