Where did you add this? What did you add? You do not need redirect to get https working, remove it until you have https working right.mouthpiece wrote: ↑Thu Nov 29, 2018 4:19 pm ....and included some redirect code to allow the site serve via https
Code: Select all
# Redirect non-www to (ssl) www
RewriteEngine On
RewriteCond %{HTTP_HOST} ^URL\.com [NC]
RewriteRule ^(.*)$ https://www.URL.com/$1 [L,R=301]
# Redirect non-SSL to SSL
RewriteCond %{HTTPS} !on
RewriteCond %{SERVER_PORT} !^443$
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
Ssl set to Full,thecoalman wrote: ↑Thu Nov 29, 2018 6:45 pm For Cloudflare to work properly ideally you need mod_cloudflare installed on the sever OR you need to install the phpBB extension for it. All traffic to your site is from Cloudflare IP's and this can cause problem with phpBB. Cloudflare sends unique header with original IP, with mod_cloudlfare installed that is correctly pssed onto applications like phpBB, server logs etc. The extension for phpBB only deals with this issue for phpBB.Where did you add this? What did you add? You do not need redirect to get https working, remove it until you have https working right.mouthpiece wrote: ↑Thu Nov 29, 2018 4:19 pm ....and included some redirect code to allow the site serve via https
In your Cloudflare account under crypto tab what is SSL set to?
Yes, I have.
You are going to want to do that but remove it for the time being to eliminate it as potential issue. Once you have https configure properly then you can move onto redirecting http to https.mouthpiece wrote: ↑Thu Nov 29, 2018 8:16 pm I used this code in .htacess
I had to use it because I wanted my site serve https://www.url.com ,
For this to work minimally you need a SSL certificate installed, typically most servers are going to have default certificate but it won't match the domain. Cloudflare doesn't care about that with this setting. Ideally this setting should be full strict but you need valid cert, you can obtain valid origin cert from Cloudflare.Ssl set to Full,
Ideally you install mod_cloudlfare, if you do not have root access to the server you would need to contact your host. That's an apache module and fixes the IP issue for everything. As I mentioned all the traffic to your site is from Coudflare IP's. phpBB, server log file and enything else that lists IP's will have Cloudlfare IP's listed. That module passes the real IP of the visitor to server logs and apllications like phpBB.Are you referring to this Extension - CloudFlare IP