Wrong $_SERVER variable was used by default.