HTTPS Redirection

From Nuclear Physics Group Documentation Pages
Revision as of 18:15, 29 May 2009 by Minuti (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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