For example, you should redirect all (80) to S. Forcing apache to redirect traffic to S This thread is about year old. Apache Redirect to S - How to Redirect to Apache Redirect to S. I can still get in using s, get a page not found with , and no redirection. If you wish to redirect users from the non-secure site to the SSL site, you can use an ordinary Redirect directive inside the non-secure VirtualHost. Our post above set up Apacheto communicate over both and S however, in todays environment, its recommended to choose one type of protocol and redirect the other to it.
We would like to emphasize that above-mentioned commands are related only to Debian-based Linux derivatives, like Ubuntu. This tutorial will show you how to redirect to S on Apache server in Linux. Ubuntu Forcing apache to redirect traffic to S to of 7. There are several methods of enabling an Apache redirect to s: Enable the redirect in the Virtual Host file for the necessary domain.
RedirectSSL - D - Apache Software Foundation Using virtual hosts (using redirect) When using SSL, you will frequently have at least two virtual hosts: one on port to serve ordinary requests, and one on port 4to serve SSL.