dondomainer
Active member
Hello gentlemen's, hi have asmall problem with to get SSL for certain pages.
this is my .htaccess configuration :
basically what I try to achieve without success is that only , linkdirectory, and account run over SSL, and the rest of the site not.
I have tried a lot of combinations but either they do not work or do nothing. do you know how to do this the right way?
Best Regards
this is my .htaccess configuration :
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite.com
RewriteRule ^ http://www.mysite.com%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} /linkdirectory
RewriteCond %{REQUEST_URI} /account
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]
basically what I try to achieve without success is that only , linkdirectory, and account run over SSL, and the rest of the site not.
I have tried a lot of combinations but either they do not work or do nothing. do you know how to do this the right way?
Best Regards