Index: [Article Count Order] [Thread]

Date: Mon, 27 Feb 2006 21:28:30 -0500
From: "Berrow, Mike" <mike@fireeye.com>
Subject: [webricken:162] Need to send helpful response when user fails to type https: as protocol
To: <webricken@notwork.org>
Message-Id: <425BE87409B6BA49954C7D375C69F9ED03AB0BE0@ms09.mse4.exchange.ms>
X-Mail-Count: 00162

Hello,I am setting up a Ruby/Rails app with Webrick. I have https: workingfine,but need to send something back when the user forgets to type https:// Right now, the browser will just get a timeout if they do that. I need http://www.sitename.com <http://www.sitename.com/>    to return "Youneed to type https:" (or some such) https://www.sitename.com <http://www.sitename.com/>    goes as normal. What is the best way to do this? Thanks,-- Mike Berrow   
	

162_2.html (attatchment)(tag is disabled)