Jump to content
  • 0

problem z ssl - Presta się nie przełącza


luki4ever

Question

witam,

 

mam jeszcze jeden problem :(

 

Prestashop nie przełącza się w ssl. Dodałem do .htaccess poniższy wpis ale efektów brak.

RewriteCond %{HTTP:X-Forwarded-Proto} https 
RewriteRule (.*) - [E=HTTPS:on]

a jak dodam poniższy kod to mam zapętlenie przekierowań 

RewriteEngine On 
# This will enable the Rewrite capabilities 
 
RewriteCond %{HTTPS} !=on 
# This checks to make sure the connection is not already HTTPS 
 
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] 
# This rule will redirect users from their original location, to the same location but using HTTPS. 
# i.e. http://www.example.com/foo/ to https://www.example.com/foo/ 
# The leading slash is made optional so that this will work either in httpd.conf 
# or .htaccess context 

Edited by luki4ever (see edit history)
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...