Installation redirect issue - Problema di redirectd dopo l'installazione
Hi guys, this is my first post! I'm a newbie!
I have been trying to install Dolphin on my local server. After finishing off the installation process I try to get the index.php page but I experience a redirect like this:
http://localhost:8888/dolphin_test/Dolphin-v/index.php (actual page)
http://localhost/dolphin_test/Dolphin-v/index.php (redirected page)
My local Apache server runs on the 8888 port, but oddly Dolphin prevent me to grant the access to this page.
Any help? I do hope I'm not in the wrong place to ask for support.
Cheers all.
ITALIANO
Ciao a tutti, questo è il mio primo post!
Ho provato ad installare in locale Dolphin e sono arrivato fino in fondo. Dopo l'installazione provo ad accedere alla pagina di index e improvvisamente mi redirige da:
http://localhost:8888/dolphin_test/Dolphin-v/index.php
a
http://localhost/dolphin_test/Dolphin-v/index.php
Dandomi un ovvio 404, file non trovato! Cosa sbaglio?
Il mio server locale gira sulla 8888, ma lui si ostina a forzare la redirect.
Ho cancellato anche la cartella install e non cambia nulla!
Spero di non aver sbagliato posto per chiedere aiuto!
GRazie
$aUrl = parse_url( $site['url'] );
if( isset($_SERVER['HTTP_HOST']) and $_SERVER['HTTP_HOST'] != $aUrl['host'] and $_SERVER['HTTP_HOST'] != $aUrl['host'] . ':80' )
{
header( "Location:http://{$aUrl['host']}{$_SERVER['REQUEST_URI']}" );
exit;
}
I just commented it, but I think I should not have done it!