Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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 DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Set up DNN on Different Server - Reverse Proxy Subdomain to a SubdirectorySet up DNN on Different Server - Reverse Proxy Subdomain to a Subdirectory
Previous
 
Next
New Post
7/20/2016 6:06 PM
 

Hello DNN Dev's, 

Our primary goal is moving our blog from a sub-domain (blog.example.com) to a sub-directory (www.example.com/blog/) of our primary eCommerce domain, on a separate server utilizing reverse proxy & URL rewriting.  We are very close to achieving the desired result but have had some issues with admin errors, file compression output errors, internal site search result links and dynamically generated related article links within module/widget.  Also, we need to ensure that our configuration can handle site-wide SSL and unified a user account login/signup functionality between both sites.

Issues: 

  • After saving a change to a page/module in the pop-up window it redirects to a 500 error. (*But the change still saves to the database.)
  • "More Settings" link to pop-up in admin shows a 500 error.
  • File compression output 500.x errors - Reverse Proxy and/or Header Response causing conflicts.
  • Internal site search result links, not being rewritten by outbound rule from blog.example.com/blog/.* to www.example.com
  • Dynamically generated links within the "Related Articles" module/widget, not being rewritten by outbound rule from blog.example.com/blog/.* to www.example.com
  • SSL Passthru/Handoff between the 2 servers?  *Is there any special configuration needed?
  • Unified a user account login "keep-alive" between both servers?
  • Cookies & visitor tracking, need to ensure a new session isn't started when jumping from one site/server to the other & vise-versa.
  • On occasion a rewrite/redirect loop issue also comes up.
  • Optimized for minimal server resource usage/load.
  • HTTP HeaderResponse or any crawlable data on the site must not include any references to blog.example.com

Current Server Specs, Software & Configurations:  

*Note: We are not in a position to migrate/upgrade our Primary eCommerce Server/Software (i.e. IIS 6) at this time & are trying to find alternative backward compatible solutions that can work within these limitations.  

Primary eCommerce Server (Web 1) 

OS:

  • Windows Server 2003 

IIS 6:

  • Binded Domains: non-www & www.example.com
  • Site Framework: Classic ASP & .Net

URL Rewrite & Reverse Proxy Software:

  • HeliconTech ISAPI Rewrite 3.0 - (App) 

*Current Reverse Proxy Rule                           

  • RewriteCond %{HTTP_HOST} (www\.)?example\.com
  • RewriteRule ^/blog(.*)$ http://blog.example.com/blog/$1 [P,NC,H,K,L]

Secondary DNN Server (Web 2)

OS: 

  • Windows 2012 

IIS 8:

  • Binded Domains: blog.example.com & IP

URL Rewrite Software:

  • URL Rewrite 2.0

*Current Outbound Rule

Precondition:

  • IsHTML”
  • Using Regular Expressions
  • Match All
  • Condition input: {RESPONSE_CONTENT_TYPE}
  • Type: Matches the Pattern
  • Pattern: ^text/html

Match:

  • Matching Scope:“Response”
  •  Content: “Matches the Pattern”
  • Using: “Exact Match”
  • Pattern: “dnn.efaucets.com”
  • Ignore case (Checked) 

Action:

  • Action Type: Rewrite
  • Value: www.example.com
  • Stop processing of subsequent rules (checked)

DNN Installation:

Version: 8.0.2 (*installed in the /blog directory as an application in IIS, under blog.example.com website)

Portal Alias:

  • Primary: www.example.com/blog
  • Alternate: blog.example.com/blog
  • Default: blog.example.com/blog (*Found in dbo.PortalSettings Table in Database)

The HTMLEditor (CK) Config: 

  • set to use relative link paths 
  • BaseHref is set to www.example.com/

Internal DNN Rewrite Providers: (these were changed from advanced to standard in web.config to get it semi-working because of a conflict with our outbound rewrite rule) 

  • DNNFriendlyUrl (set to "standard") 
  • OpenFriendlyUrl (set to "standard") 

DNN Themes/Extentions Installed:

  • DNNgo xBlog
  • DNNgo xPlugin
  • DNNgo xGalleryPro
  • Theme: SP20047 Unlimited Responsive Multi-Purpose Skin 033

*PS: A lot of research has already been done to resolve these issues, but have yet to find a solution that is compatible with IIS 6.0 & our current servers/software configurations. (Helicon Ape, ARR + URL Rewrite on IIS 7+, etc...)

So any detailed config changes, rewrite rules, flags, DNN extensions or server software recommendations, that we may have not found already, would be greatly appreciated.

Thanks,

Jordan K.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Set up DNN on Different Server - Reverse Proxy Subdomain to a SubdirectorySet up DNN on Different Server - Reverse Proxy Subdomain to a Subdirectory


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out