Thread: SSL question
View Single Post
Old 05-14-2007, 08:39 AM   #7 (permalink)
exam
Contributing Member
 
exam's Avatar
 
Join Date: 04-20-06
Posts: 310
iTrader: 0 / 0%
Latest Blog:
None

exam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web proexam is a highly respected web pro
Try this in your .htaccess file:

Code:
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Some servers don't have the HTTPS variable set. In that case, try this:

Code:
RewriteEngine On RewriteCond %{SERVER_PORT} !443 RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R]
__________________
~exam~
exam is offline   Reply With Quote