Trailing Slashes Issues in Apache HTTPD

Solution Verified - Updated -

Issue

  • I have an apache proxy server that I want to use Proxy Balancer to support multiple backend servers, running a 3rd party application on IIS. When I configure the Apache instance with the balancer, the calls to the backend fail, resulting in 500 errors. However when I use simple ProxyPass and ProxyPassReverse statements, the calls to the backend work.

  • I'm trying to figure out how to tell apache to load a web page whether it has a forward slash at the end or not. Example: this URL http://example.com/myappgives me this error:

    Not Found
    The requested URL /myapp was not found on this server.
    

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Red Hat Software Collections (RHSCL)
  • Red Hat JBoss Enterprise Web Server (EWS)
  • Red Hat JBoss Web Server (JWS)
    • 3.0.x
  • Red Hat JBoss Core Services (JBCS)
  • Apache HTTPD
    • mod_proxy
    • mod_proxy_balancer
    • mod_alias

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In