Forum Moderators: phranque

Message Too Old, No Replies

Noobie help

Redirect HTTPS only for certain files?

         

CraigHammon

3:13 pm on Apr 1, 2009 (gmt 0)

10+ Year Member




I'm a software engineer , but not strong in webservers at all. I have some basic questions if I might ask.

1. I have SSL added to a web site. Im assuming that with certs and encryption, there is a performance hit to use it?
If so, should I just redirect only on pages that need ssl? I.E. Payments etc.?

If so then...

2. How would you do a redirect that..
A. will redirect mydomain.com to www.mydomain.com

AND

B. will redirect any attempt to www.mydomain/payments.htm
to [mydomain...]

Im a little lost.. Can you please guide me?


Craig

CraigHammon

3:13 pm on Apr 1, 2009 (gmt 0)

10+ Year Member



Of course, using a .htaccess file...

jdMorgan

6:14 pm on Apr 1, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Please do try a search of this forum, using the facilities provided in the links at the top of the page. Most subjects are already well-covered here in a general way, and we like to focus on specifics. (Thanks!)

SSL involves the sender encrypting the data and the receiver decrypting it, so yes, it involves a lot of extra work at both ends. Use SSL/HTTPS only for pages which actually need to be secured.

As for a recent "how to" discussion, see this Recent SSL thread [webmasterworld.com] as an example.

Jim

CraigHammon

9:35 pm on Apr 1, 2009 (gmt 0)

10+ Year Member



Thanks, will read that ..