Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have two VPS servers. one of them is running Linux and the other is Windows one. I've uploaded same file to their public_html folders and could see them in my browser via static IP address of each one like http://178.63.165.178/getorder/file.xml and http://178.63.165.178/getorder/file.xml.

On the other side there is a device called SMSPrinter that configured to read those XML files using GPRS and need static IP address to reach destination server. unfortunately this device can only read file from windows server and could not reach the file on Linux server.

There is no note in this device manual suggesting Windows server or specific OS! I've also set file permission on Linux server to 777 to have no limitation. what could be the cause of our problem?

Thanks.

share|improve this question

migrated from webmasters.stackexchange.com Jul 1 '12 at 15:26

This question came from our site for pro webmasters.

    
Are you sure your checking both servers? The IP's you gave us are the same. –  Ryan Gibbons Jul 1 '12 at 15:37
    
Yes I am sure. those address were just for example. in real situation I am sure. –  silvercover Jul 1 '12 at 15:45

1 Answer 1

You are right, there is no reason it would care which web server is serving the content. There is something different between the two that is preventing SMSPrinter from retrieving the page. Sadly there just isn't enough information to give an answer on how to fix it. Here are some things I'd start troubleshooting with.

I'd start pay making sure you are able to view both feeds on a phone that is on the same service provider you are using the GPRS printer with. This will make sure the provider isn't blocking the IP and also make sure that the linux server is blocking anything.

Then I'd start with checking the HTTP headers, and make sure the are similar. Mainly the content-type and content-length as that might mess with the printer.

Another thought is to make sure the SMSPrinter isn't configured to listen to any type of blacklist or has any settings that might be blocking the IP of the linux server.

Update - 7/3/12 - I used the curl -I command on each (based on the information you provided) And the Content-Length of the linux server is 528 and the Content-Length of the Windows Server is 1178; Looks like the linux server is using mod_gzip or mod_deflate. Try turning that off and see where that gets you.

share|improve this answer
    
Here is my HTTP header report: garson.ir/temp/linux.txt and garson.ir/temp/windows.txt –  silvercover Jul 2 '12 at 10:19
    
Thanks, I've Updated my answer with more ideas. That's the only other thing I can think of right now. –  Ryan Gibbons Jul 3 '12 at 12:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.