Skip to main content
Waters

What are the default "URL Rewrite" rules in a NuGenesis web server, and what are their recommended settings? - WKB203463

Article number: 203463

ENVIRONMENT

  • NuGenesis 9
    • Windows Server 2019/2016
  • NuGenesis 8
    • Windows Server 2016/2012

ANSWER

NuGenesis makes use of several URL Rewrite rules by default. These rules are stored at the server level, not for individual websites or applications. This page lists the default rules; other rules may be present, such as one to redirect legacy WebVision URLs or to redirect users from the default document to WebVision.  Those rules are not listed here.

  • httptohttpsredirect
    • Introduced in NuGenesis 8 SR2 and used in all versions of NuGenesis 9.  Must be the first rule listed if it's present in the list.
    • Where stored: server
    • Configuration:
      • Match URL:
        • Requested URL: Matches the Pattern
        • Pattern: servlet
      • Conditions:
        • Logical Grouping: Match All
        • {REQUEST_URI} Matches the Pattern /servlet/WebVisionServlet$
        • {SERVER_PORT_SECURE} Matches the Pattern 0
      • Actions
      • Stop processing of subsequent rules: True
  • auditrule
    • Introduced in NuGenesis 8 SR2 and used in all versions of NuGenesis 9. Aborts the request if a user uses HTTP instead of HTTPS.
    • Where stored: server
    • Configuration:
      • Match URL:
        • Requested URL: Matches the Pattern
        • Pattern: ngaudit
      • Conditions:
        • Logical Grouping: Match All
        • {SERVER_PORT_SECURE} Matches the Pattern 0
      • Actions
        • Action type: Abort Request
      • Stop processing of subsequent rules: True
  • AuditTrailRedirectRule
    • Introduced in NuGenesis 9.1 for the new Audit Trail Viewer app. Redirects users to the site for the new audit trail viewer.
    • Where stored: server
    • Configuration:
      • Match URL:
        • Requested URL: Matches the Pattern
        • Pattern: sdmsapp
      • Conditions:
        • None
      • Actions
      • Stop processing of subsequent rules: True
  • SDMS
    • Introduced in the NuGenesis 8 base release. NG8 is the first version of NuGenesis SDMS to use Apache Tomcat in the web server stack. This rule redirects the request to the Tomcat service for processing. This rule allows both SDMS and LMS to share one website in IIS. This rule should be present in all versions of NuGenesis 8 and 9.
    • Where stored: server
    • Configuration:
      • Match URL:
        • Requested URL: Matches the Pattern
        • Pattern: servlet
      • Conditions:
        • None
      • Actions
      • Stop processing of subsequent rules: False
  • VisionRedirectRule
    • Introduced in NuGenesis 9.3 with the release of the new WebVision web app
    • Where stored: server
    • Configuration:
      • Match URL:
        • Requested URL: Matches the Pattern
        • Pattern: sdmsvision
      • Conditions (Match Any):
        • {SERVER_PORT_SECURE} Matches the Pattern: 0
        • {HTTP_HOST} Does not match the Pattern: ^.*\.domain\.com
        • {SERVER_PORT} Does not match the pattern: 446
      • Actions:
  • redirect all requests
    • Introduced in NuGenesis 9.3 with the release of the new WebVision we app
    • Where stored: Sites \ SdmsVision
    • Configuration:
      • Match URL:
        • Requested URL: Matches the Pattern
        • Pattern: ^(.*)$
      • Conditions (Match All):
        • {REQUEST_FILENAME} Type: Is not a file  Pattern: N/A
      • Actions:
        • Action type: Rewrite
        • Rewrite URL: index.html
        • Append query string: True
      • Stop processing of subsequent rules: True

ADDITIONAL INFORMATION

 

id203463, SDMS, SDMS8, SDMS8NU, SUPISDMS, SUPNG

Not able to find a solution? Click here to request help.