RedirectMatch ^(.*login\.cgi) https://www.mysite.com$1