Issue while getting scheme type from http request
Issue
- The application runs on http and https; and is front ended by Apache web server.
Trying to get scheme using getScheme() method from request. The return value when the URL is https://.... is correct, it is "https".
But when url is http://... getting the scheme as "ajp" in response. Whereas it should be http/https.
Environment
- Red Hat JBoss Portal (JPP)
- 6.0
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- Apache Web Server (EWS)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
