Il forum si è spostato --> https://forumanicomio.eugy.it
Forum Moved-->

Redirect HTTP su HTTPS

Rispondi al messaggio


Questa domanda serve a prevenire iscrizioni automatiche.
Emoticon
:rolling: :shock: :chupa: 8-) :oops: :twisted: :roll: ;) :becky: :2frown: :2picche: :acc: :alcesso: :alien: :popcorn: :angel: :angry: :applause: :banana: :berluska: :D :birra: :bleurgh: :boxing: :brindisi: :bugia: :capocc: :china: :clacool: :coffee: :computer: :confused: :contract: :uhm: :upset: :withstup: :yawn: :zitt: :zzz: :lele: :gero: :andy: :urk: :rip: :crazy: :cry: :dottor: :facciada: :fart: :freak: :ghhhhh: :handy: :parsi: :loda: :sisi: :martello: :mucca: :nasega: :pirate: :frank: :abb1: :abb2: XD
Visualizza tutte le emoticon

BBCode attivo
[img] non attivo
[flash] non attivo
[url] attivo
Emoticon attive

Revisione argomento
   

Espandi visuale Revisione argomento: Redirect HTTP su HTTPS

Redirect HTTP su HTTPS

da Rombo di Tuono » 29 dic 2018, 01:07

Link to original solution:
Stackoverflow.com

Soluzione completa per attivare https su phpbb 3.2.x

1) attivare SSL / HTTPS presso il vostro provider / ISP
2) Pannello di controllo Admin--> GENERALE-->cookie-->cookie sicuri ABILITATI (impostare)

Attendere.

Nel frattempo: controllare che ogni link interno del vostro forum phpbb (banner ecc..) sia https:// o non sia assoluto, e che ogni link ESTERNO lo sia altrettanto

Di seguito la regola .htaccess che regolerà la redirezione verso le pagine sicure:

Codice: Seleziona tutto

# If we receive a forwarded http request from a proxy...
RewriteCond %{HTTP:X-Forwarded-Proto} =http [OR]

# ...or just a plain old http request directly from the client
RewriteCond %{HTTP:X-Forwarded-Proto} =""
RewriteCond %{HTTPS} !=on

# Redirect to https version
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Come ho detto, si ringrazia l'autore del post su Stack Overflow: Harshal Lonare

Top