New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

Can't exclude URL Rewriter

Return to previous page

  • 8/26/2015
  • 1733 Views
  • 0 Answers
  • Last Activity: 9 years ago, Thomas

Question:

Thomas 9 years ago

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......

Can't exclude URL Rewriter

Thomas
Thomas 9 years ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member