I didn't imagined that there would be so much html errors in the pages code. I've checked and a part of them are from the basic code of my template (other than other code I wrote).

So, now I'm gonna work on it, The important thing is that now thanks to you I know for sure that it''s an HTML error and not webserver related.

thanks a lot for the help to everyone