OXID Community Forum

> International Forums > General > Mixed Content after SSL implementation
Login
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread: Mixed Content after SSL implementation


Reply
 
Thread Tools Search this Thread Display Modes
#Top   #1  
Old 08-02-2017, 03:59 PM
Junior Member
Join Date: Mar 2017
Posts: 6
ab@troja.al is on a distinguished road
Default Mixed Content after SSL implementation

Hi, I have setup an eshop running CE 4.10.4 hosted in Hosteurope.ch and we wanted to move to Cloudflare for automatic SSL setup, and after the process was finished, i enabled "Always use HTTPS", and "Automatic HTTPS Rewrites", however the site still doesnt fully move to https. I contacted Cloudflare support and they said that i need to edit the source code to "load resources over a relative path, or directly over https". Now i'm not a programmer, so i googled how to do that and they all said to edit "img src" in the site's html code, and i understand that but the problem is that there is no file in my site that contains anything like that. I ran a grep search on the server :grep -r -l "http://mydomain.com", and the only file names that came up were located in /tmp.

Any advice would be appreciated.
Reply With Quote
#Top   #2  
Old 08-02-2017, 04:09 PM
vanilla thunder's Avatar
vanilla thunder vanilla thunder is offline
Marco's Sidekick
Join Date: Nov 2010
Posts: 6,270
vanilla thunder is on a distinguished road
Default Re: Mixed Content after SSL implementation

i have no experience with connecting cloudflare to oxid, but first you should try configring your shop to use ssl.
Reply With Quote
#Top   #3  
Old 08-02-2017, 05:48 PM
foxido.de foxido.de is offline
Senior Member
Join Date: Jul 2013
Posts: 1,121
foxido.de is on a distinguished road
Default Re: Mixed Content after SSL implementation

Did you change the config.inc.php for always use HTTPS?

Code:
$this->sShopURL = 'https://...'; // eShop base url, required
$this->sSSLShopURL  = 'https://...';            // eShop SSL url, optional
__________________
Grüße

http://www.foxido.de/

- Modulentwicklung, Komplette Systeme, Beratung, Service

Tel: 02841-9161670

Deep-AutoSuggest, der neue Finder 4.6x 4.10.x und 90 weitere Module
Reply With Quote
#Top   #4  
Old 08-03-2017, 09:03 AM
Junior Member
Join Date: Mar 2017
Posts: 6
ab@troja.al is on a distinguished road
Default Re: Mixed Content after SSL implementation

I found that file and checked the values, and yes; $this->sShopURL = 'http://mydomain.com', is using http. This is the other one $this->sSSLShopURL = null;

So if i change these to 'https://mydomain.com' SSL is fully implemented right?. Also this value: $this->sAdminSSLURL = null; // eShop Admin SSL url, optional....does changing this to https mean that the admin console will use SSL as well cause i want to connect to the backend securely too.

Thank you for the replies.
Reply With Quote
#Top   #5  
Old 08-03-2017, 09:32 AM
foxido.de foxido.de is offline
Senior Member
Join Date: Jul 2013
Posts: 1,121
foxido.de is on a distinguished road
Default Re: Mixed Content after SSL implementation

Quote:
Originally Posted by [email protected] View Post
So if i change these to 'https://mydomain.com' SSL is fully implemented right?
Yes.

Quote:
Originally Posted by [email protected] View Post
Also this value: $this->sAdminSSLURL = null; // eShop Admin SSL url, optional....does changing this to https mean that the admin console will use SSL as well cause i want to connect to the backend securely too.
In this case you can but don't need to change $this->sAdminSSLURL, because this url depends on $this->sShopURL;
__________________
Grüße

http://www.foxido.de/

- Modulentwicklung, Komplette Systeme, Beratung, Service

Tel: 02841-9161670

Deep-AutoSuggest, der neue Finder 4.6x 4.10.x und 90 weitere Module
Reply With Quote
#Top   #6  
Old 08-03-2017, 10:25 AM
Junior Member
Join Date: Mar 2017
Posts: 6
ab@troja.al is on a distinguished road
Default Re: Mixed Content after SSL implementation

Thank you very much. I've been working on setting up SSL for way too long and this fixed it.
Reply With Quote
Reply

Bookmarks

Tags
content, implementation, mixed, ssl

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Nicht Sichtbar
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Startseiten content SomeWire Newbies 2 11-22-2012 11:53 AM
Google Content API?? gds OXID eFire 2 01-18-2012 01:48 PM
Duplicate Content sidj Installation und Konfiguration 3 07-12-2011 11:38 AM
Content im IE6 am Ende Niklas Templates und Design 0 05-04-2010 03:39 PM
Doppelter Content 4.0.0.1 CE und PE Wonko Allgemeines 13 12-13-2008 12:51 PM

All times are GMT +1. The time now is 11:33 PM.