I am trying to keep a URL (/plesk-stat) from being processed by DNN, and have set the path in the database field:
AUM_DoNotRewriteRegEx
/DesktopModules/|/Providers|/LinkClick\.aspx|/plesk-stat
However, when I go to that URL, I get an error that indicates the Rewriter is requesting the permissions for that directory. Am I not successfully excluding /plesk-stat from the rewriter? Here is the error (DNN 7.4.1).
AbsoluteURL:/plesk-stat/webstat/index.html
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:3ed9904a-897a-433a-85f9-491f0efaee19
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:2sz3rwrQnLd0UVlQZ/qZbg==
Message:Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
StackTrace:
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Demand()
at System.Web.HttpRequest.get_PhysicalPath()
at DotNetNuke.Entities.Urls.AdvancedUrlRewriter.IgnoreRequestForInstall(HttpRequest request)
at DotNetNuke.Entities.Urls.AdvancedUrlRewriter.RewriteUrl(Object sender, EventArgs e)
InnerMessage:
InnerStackTrace:
Source:mscorlib
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Server Name: P3NWV......