Re: Requiring SSL?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sander Temme wrote:

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


Sorted-- thanks!

--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / chandler@xxxxxxxxxxx
Today's Excuse: You did wha... oh _dear_....

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux