How do I redirect an https URL to an http URL with Apache httpd

Solution Verified - Updated -

Issue

  • How to redirect https traffic for all virtual host except the one configure for ssl to non ssl virtual host i.e. redirect HTTPS request to HTTP except HTTPS request (https://ssl.example.com) coming from specific FQDN e.g. ssl.example.com

Environment

  • Redhat Enterprise Linux (RHEL)
    • 6.x
  • Apache Web Server (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