Originariamente inviato da Geppo Hylar
certo!
il file redire2.php contiene solamente:
----------------------------
<?php
header('Location: http://lorismenghi.com/index.html');
?>
---------------------------

Lo apro da localhost e invece di dirigermi sul link giusto, mi stampa questo errore:
---------------------------------------
Not Found

The requested URL /Â http://lorismenghi.com/index.html was not found on this server.
Apache/2.2.9 (Unix) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h PHP/5.2.6 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 Server at localhost Port 80
---------------------------------------
inoltre nella barra degli indirizzi c'è un gran pastrocchio:
http://localhost/%C2%A0http://lorism...com/index.html
Il codice è corretto, l'ho testato anche in locale (PAMPA v0.6) e redirige tranquillamente alla risorsa.