RedirectSSL

http://wiki.apache.org/httpd/RedirectSSL

In Virtual Host file, add the following line under the 80 port:

Redirect permanent / https://secure.example.com/

And use the # to comment out the DocumentRoot and ErrorLog parts.

发表评论

电子邮件地址不会被公开。 必填项已用*标注