You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Minder (JIRA)" <ji...@apache.org> on 2014/10/09 20:04:35 UTC

[jira] [Created] (KNOX-439) URL pattern matching fails for default ports HTTP 80 and HTTPS 443

Kevin Minder created KNOX-439:
---------------------------------

             Summary: URL pattern matching fails for default ports HTTP 80 and HTTPS 443
                 Key: KNOX-439
                 URL: https://issues.apache.org/jira/browse/KNOX-439
             Project: Apache Knox
          Issue Type: Bug
          Components: Server
    Affects Versions: 0.4.0
            Reporter: Kevin Minder
             Fix For: 0.5.0


If Knox is setup on default ports (i.e. HTTP 80 or HTTPS 443) it will fail as URLs will not match due to missing ports in the URLs.  This is caused by APIs in the servlet API that remove these ports from the URLs.  This can also affect deployment scenarios where Knox itself is listening on non-default ports but is used behind a load balancer that is listening on a default port.  This is because the original request URL presented to the load balancer is the URL user for matching and rewriting in Knox and that port will be removed if it is 80 or 443.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)