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
  • JBoss Enterprise Web Server (EWS)
  • 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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.