22.02.2013, 16:22
Hello guys.
I've been setting up my server with some mail functions and basically, my functions go to a file which is uploaded on another hosting server, runs it and receives usual HTTP callback. The problem happens when I upload the gamemode on my Linux server.
Everything goes fine on Windows, client successfully sends and receives the HTTP functions. But when I try things in the Linux server, somehow it returns error response code 1 (HTTP_BAD_HOST).
Are there anything special goes with Linux server when sending HTTP_GET commands? I've tried everything and couldn't find a solution. Nothing can be wrong with the mail functions with the server since I use a seperated host to upload my .php files.
As I said, the problem only happens on my Linux server. Windows just works fine with HTTP.
Thanks for the future helps.
I've been setting up my server with some mail functions and basically, my functions go to a file which is uploaded on another hosting server, runs it and receives usual HTTP callback. The problem happens when I upload the gamemode on my Linux server.
Everything goes fine on Windows, client successfully sends and receives the HTTP functions. But when I try things in the Linux server, somehow it returns error response code 1 (HTTP_BAD_HOST).
Are there anything special goes with Linux server when sending HTTP_GET commands? I've tried everything and couldn't find a solution. Nothing can be wrong with the mail functions with the server since I use a seperated host to upload my .php files.
As I said, the problem only happens on my Linux server. Windows just works fine with HTTP.
Thanks for the future helps.