Enter person's name Or select a friend
Submit Cancel
keyboard_arrow_left keyboard_arrow_right
Posted by Jack Mack on 03/09/17 at 05:29
Comments (13)
ketkew  
The "Enable SSL Mode" option only checks if mooSocial is served via https indeed
Do I replace above with what is currently in .htaccess? Whatever I do, the site gets thrown off completely.

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
That is really annoying. Would expect to activate that in admin and force all URLs over https.
figured it out
Mike  
Ah because that is not the case? I thought exactly like you :/
No, didnt fix it. a few pages (primarily without images) are secure and others are insecure with mixed content and are still being served over http://
Mark - perhaps bug fix for upcoming 2.6.1 or so - SSL? Once activated, everything should be served over SSL. A user should not have to edit .htacces file or anything else, no?
ketkew  
The mixed content is due to the fact that you perhaps serve hard coded urls on your site? (html box or whatever?). The best way to include urls is to not use http:// or https:// in front of the URL.

Use // only, so if you link to an image which is hosted on your site, then do it like this: <img src="//domain.com/image.jpg">

In this case the url will automatically http OR https depending on your configuration

So first you need to check what the mixed content is.. you can do that via the the in...  more
ketkew  
Like here on mooSocial community.. there is also an mixed content error since a few days. In chrome you can check which URLs are wrong, see screenshot
Yeah, need to sift through the mixed content and find the corresponding templates to fix url path. your right a majority is hardcoded links.
Question @ketkew ... on the string <img src="//domain.com/image.jpg">, why wouldn't you just soft code it to /image.jpg and drop the //domain.com? Once on the sites domain anything after the .com is not needed to navigate. I have every link on my site soft coded to anything that comes after the .com and experience no https issues.
ketkew  
Ray Kennedy you are right this would better I was more referring if you need to include Url's from whatever from different domains or a subdomain
No login
Login or register to post your comment
Cookies on mooCommunity - Social Networking Script.
This site uses cookies to store your information on your computer.