** Pastebin PRO Accounts Spring Special ** Get 40% discount for a limited time only! Click Here to check it out ;-)Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Jun 26th, 2012  |  syntax: None  |  size: 0.33 KB  |  views: 41  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <html> <head><title>Redirecting...</title></head> <script language="JavaScript"> function redirectHttpToHttps() {     var httpURL= window.location.hostname + window.location.pathname + window.location.search;     var httpsURL= "https://" + httpURL;     window.location = httpsURL; } redirectHttpToHttps(); </script> <body> </body> </html>
clone this paste RAW Paste Data