HTTPS Redirection

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search

To make a webpage redirect from an http request to an https request, add a line to /etc/httpd/conf/httpd.conf like the following:

redirectmatch ^/mail$ https://einstein.unh.edu/mail/

This will redirect any request that looks like http://einstein.unh.edu/mail to https://einstein.unh.edu