On Jan 9, 2007, at 5:14 PM, Jay Chandler wrote:
How do I force all traffic to go over SSL, and http://my.server.edu to force redirection to https://my.server.edu?
1) Put both 80 and 443 in a virtual host. 2) In the port 80 virtual host, put the following: RedirectPermanent / https://my.server.edu/ 3) Profit!The Virtual Host is the most important part. Without it, a RedirectPermanent placed in the Main Server Configuration will be inherited by the SSL Vhost, creating a redirect loop.
S. -- sctemme@xxxxxxxxxx http://www.temme.net/sander/ PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF
Attachment:
smime.p7s
Description: S/MIME cryptographic signature