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, 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