?
Solved

Redirect Web Site to SSL Certificate

Posted on 2007-11-17
3
Medium Priority
?
861 Views
Last Modified: 2013-12-24
Hi Experts,
I have a web site with a SSL Certificate.  I also have an Includes.asp file in a folder.  I am trying redirect my site to the certificate and cannot seem to get accomplished.  
I use frontpage as my editor, but have both html and asp pages.
So how do I redirect my site to the SSL Certificate or get it to look at the includes.asp file when my web first opens?
0
Comment
Question by:Sheritlw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
twcadmin earned 1000 total points
ID: 20305341
either i don't understand what you are saying or you do not understand SSL. for a page to be accessed via ssl they just type https://www.mypage.com/mypage.asp the https make it look for the SSL. If you mean you want to attach the ssl file to the site, you have to do that through your web server software.
0
 

Author Comment

by:Sheritlw
ID: 20305357
Yes, I think I just figured it out.  I will see if it works and if it does, I will give you the points.  If not I will reply with the results.

Thanks
0
 
LVL 29

Assisted Solution

by:coreybryant
coreybryant earned 1000 total points
ID: 20331267
Add this code to your web page (above the DOCTYPE) and this will make sure the user to re-directed to https

-Corey
<%
dim servPro 
servPro = Request.ServerVariables("HTTPS")
 
if servPro = "off" then
    response.redirect  "https://www.example.com/yourasppage.asp"
    response.end
end if
 
%>

Open in new window

0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#SSL #TLS #Citrix #HTTPS #PKI #Compliance #Certificate #Encryption #StoreFront #Web Interface #Citrix XenApp
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php :…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question