Servers don't recognize the hash or pound sign in URL as fragment identifier

Solution Verified - Updated -

Issue

  • Need to restrict access to URLs in httpd that contain special character #.
  • Need to rewrite URLs in HTTPD that contain https://example.com/sso/#login
  • Apache Tomcat is interpreting hash URLs as real server paths and throws a 404 error. Example of hash URL: http://server:port/contextPath/tims#/dashboard

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Red Hat Software Collections (RHSCL)
  • Red Hat JBoss Web Server (JWS)
  • Red Hat Enterprise Application Platform (EAP)
  • Red Hat JBoss Core Services (JBCS)
  • Apache Tomcat
  • Apache Web Server (HTTPD)
  • NGINX

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content