View Single Post
Old 09-15-2004, 01:37 PM  
nibbi
Confirmed User
 
Join Date: Sep 2002
Location: Nashville, TN
Posts: 104
htaccess help http to https

Using htaccess, I want to be able to ensure that someone is using https when they are hitting any page in a directory.

There must be a way to do this in htaccess, but I havent been able to figure it out.

example:

someone hits this page:

http://www.mysite.com/foo/test.html

they are redirected to

https://www.mysite.com/foo/test.html

Anyone know how to write the htaccess file?


Thanks
nibbi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote