Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What is the best way to always reroute all traffic from http to https on Apache 2?

All requests to 80 should go to 443.

(I am using Ubuntu + Apache 2)

share|improve this question

migrated from superuser.com Jul 29 '10 at 23:53

This question came from our site for computer enthusiasts and power users.

    
possible duplicate of Forcing HTTPS from HTTP (Apache) –  Mark Henderson Jul 29 '10 at 23:56

1 Answer 1

up vote 3 down vote accepted

You posted over on ServerFault as well, and it looks like it has been answered. This is simply to add a solution to this question on SuperUser in the event that someone else is looking for an answer to this question.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.