cao a tutti,
ho sempre usato questo codice
Codice PHP:
$_SERVER['HTTP_REFERER'];
per visualizzare la pagina di provenienza ed ora mi sono accorto che non funziona più (inesistente).
Potrebbe dipendere dal file ".htaccess"?
In caso affermativo allego il contenuto del file:
Codice:
AddDefaultCharset UTF-8
Options -Indexes
ErrorDocument 403 /errore.php
ErrorDocument 404 /errore.php
ErrorDocument 500 /errore.php
# av:AntiHotlink
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule .* https://www.newsmino.altervista.org/%{REQUEST_URI} [L,R=301]
#RewriteCond %{HTTP:X-Forwarded-Proto} !https
#RewriteCond %{HTTP_HOST} ^newsmino.altervista.org
#RewriteRule (.*) https://www.newsmino.altervista.org/$1 [R=301,L]
# AntiHotlink
# # av:php5-engine
AddHandler av-php73 .php
sperando qualcuno mi possa dare una mano.
Se non dipendesse dal file ".htaccess" avete qualche idea di come possa rimediare al problema?
grazie anticipatamente per le eventuali risposte.