Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fwd http traffic to https

Status
Not open for further replies.

nsanto17

IS-IT--Management
Mar 14, 2005
616
US
I am setting up a web site and i just ordered my cert from network solutions. It will be a few days until i get my cert. When i install the cert how can i have all the traffic from fwd to is it a matter of just checking a check box or do i have to add a filter.Thanks in advance..


Nick
 
If you were going to force all traffic to go to HTTPS you'll need to put in code which looks at the headers to see if you are using HTTPS and if not redirect the traffic.

However forcing all traffic to HTTPS will send the CPU load up as encryption is very CPU intensive.

Denny
MVP
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / SQL 2005 BI / SQL 2008 DBA / SQL 2008 DBD / SQL 2008 BI / MWSS 3.0: Configuration / MOSS 2007: Configuration)
MCITP (SQL 2005 DBA / SQL 2008 DBA / SQL 2005 DBD / SQL 2008 DBD / SQL 2005 BI / SQL 2008 BI)

My Blog
 
I use the following :

Microsoft IIS can be set up to require SSL connections, thus disabling the use of the standard http protocol. To ensure that the web server only accepts https requests, then do the following:
• Open Internet Services Manager
• Right click Default Web Site, and select Properties
• Click the Directory Security tab
• In the Secure Communications section, click Edit
• Check the “Require Secure Channel (SSL)” box
• Click OK and OK
• Create a file in the root of the default website folder, usually c:\inetpub\ called SSLRedirect.asp with the following content :
<%
Data = request.servervariables("QUERY_STRING")
URL = replace(Data, "403;", "")
URL = replace(URL, ":80","")
URL = replace(URL, " "Response.Status="301 Moved Permanently"
Response.AddHeader "Location", URL
%>
• On the Properties dialog of the website, select Custom Error Messages.
• For the 403;4 error edit the properties and change it to a URL and set the location to /SSLRedirect.asp.
• On the Web Services Extensions section in IIS, ensure that Active Server Pages are Allowed.


Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
Thanks for all the advice.

Here is what i did...

I added another local ip to the server.

created a new site in iis

set that site as a redirect to
works like a charm once i had my isp open port 80
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top