News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SSL and Https

Started by Anoni1337, October 21, 2017, 04:16:24 PM

Previous topic - Next topic

Anoni1337

Well I have ssl on my forum and image proxy is turned on,"Force cookies to be secure" this is turned on also.Now SSL work but on some pages of my forum it doesn't work,where is a lot of ppl with different avatars,signatures etc.Some of them are proxyed some of them are not.

This is code of my .htaccess and only this one worked out for me.Today I opened my forum and a lot of ppl came in and some avatars are proxyed some of them are not now I am not sure that's the issue but I think It is.

RewriteEngine On
RewriteBase /

#if the request is not secure
RewriteCond %{HTTPS} off
#redirect to the secure version
RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L]

#These are your existing rules
RewriteCond %{REQUEST_FILENAME} !.(jpg|jpeg|gif|png|css|js|pl|txt)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^(.*) index.php

Anoni1337

@Sorry I have mod for default avatar,and it was going thru http,so yea.This is solved

Advertisement: