Plesk Web Statistics Does Not Load When Using DNN 7.1+ Advanced URL's

Plesk Servers > Plesk Control Panel

Problem:

Plesk Web Statistics does not load when you have DNN 7.1 and up's Advanced URL's enabled

Cause:

Since Plesk tries to load the web statistics using the /plesk-stat/webstat directory, DNN tries to assume it is an extentionless URL that is needs to rewrite and tries to do so.  This does not work as it is not a DNN page.

Solution:

To get Web Statistics to work, log in to DNN and go to Host->SQL and run the following script exactly as set:

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()
)

 

Add Feedback