Your question has been submitted and is awaiting moderation.
I have a custom handler which handles a particular url path which i want to reside on the https protocol. The handler works fine in http mode
However because i want to set the portal such that SSL Enforced is True, DNN wont allow me to use the https protocol. It keeps redirecting my request to http due to the following code in the urlrwrite module
//check ssl enabled
//717 : check page is secure, connection is not secure
//952 : support SSl Offloading in DNN 6.2+
if (portalSettings.ActiveTab.IsSecure && !result.IsSecureConnection && !result.IsSSLOffloaded)
redirectSecure = true;
string stdUrl = portalSettings.STDURL;
string sslUrl = portalSettings.SSLURL;
if (string.IsNullOrEmpty(result.HttpAlias) == false)
stdUrl = result.HttpAlias;
url = url.Replace("http://", "https://");
url = ReplaceDomainName(url, stdUrl, sslUrl);
Is there any way I can get the url rewrite to completely ignore a particular url?