How to redirect access from a URL to another URL in Apache HTTPD?

Solution Verified - Updated -

Issue

  • How to redirect access from a URL to another URL ?
  • Is it possible to redirect from the url http://<IP-address:Port>/abc to http://<IP-address:Port>/xyz ?
  • We need to implemet apache redirect rule which has a special symbols in Source URL. For example: https://www.example.com/content/article.jsp?myParam=myValue to https://www.example.com/category/value

Environment

  • Red Hat Enterprise Linux (RHEL)
  • JBoss Enterprise Web Server (JWS)
  • Apache httpd

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