How to redirect http traffic to https in Apache httpd

Solution Verified - Updated -

Issue

  • I want to send all traffic that I receive on 80 or 8080 (http) to and https port (443 or 8443) to secure my web site.
    • What is the best way to do this?

Environment

  • Red Hat Enterprise Linux
    • Apache HTTPD
  • JBoss Enterprise Web Server
    • 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.