Problem with SSL HTTPS in admin (backend)

Guido

Avatar: Guido

2018-01-11 18:48

Hi,

I force my shop to use HTTPS via htaccess:


RewriteCond 
%{HTTP_HOSTmydomain\.nl [NC]
RewriteCond %{SERVER_PORT80
RewriteRule 
^(.*)$ https://www.mydomain.nl/$1 [R,L]



Works fine in frontend, but I am not able to save anything in backend.

Keep getting the operation_unknown error: Error: no action was taken

What should I do? My shop is build with QC 6.0.

Guido

» Quick.Cart v6.x

Guido

Avatar: Guido

2018-01-12 17:31

This htaccess is better, but again no luck... cannot save anything in backend.


RewriteEngine On
RewriteCond 
%{HTTPS} !=on
RewriteRule 
^/?(.*) https://%{SERVER_NAME}/$1 [R,L]



Guido

Guido

Avatar: Guido

2018-01-29 23:43

Unfortunately no response so far..

Update: I now have whole site on HTTPS except the backend... I excluded that in htaccess. Not the best solution but at least frontend is HTTPS now.

Guido

Roni

Avatar: Roni

2018-01-30 07:32

Did you change throwSiteUrls in core/common.php? There is: $aData['sScheme'] = 'http://';
Maybe that will solve your problem.

Guido

Avatar: Guido

2018-02-08 15:19

Hi Roni,

Thanks, will try this!

Guido

Timo78

Avatar: Timo78

2018-02-17 16:55

I use this in my .htaccess file and works fine also in the backend.

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Make sure you save the file in the root of your shop.

Back to top
about us | contact