Te puedes explicar un poco mejor, no entiendo que quieres que pruebe y donde.
Resumo de nuevo por si acaso:
Si entro a la pagina php asi:
http://localhost/pagina.php y dentro de pagina.php hay un header('Location: index.php'); si me lleva a
http://localhost/index.php.
Pero si el archivo esta en la carpeta:
http://localhost/modulos/pagina.php, ni ('Location: index.php'); ni ('Location: /index.php'); ni ('Location: ../index.php'); ni ('Location:
http://localhost/index.php'); me funcionan, simplemente no hace nada.Saludos