Hey Monks!
I need to revisit this topic: my script produces XML data which produces an error on A9. When I save the output and let Apache serve it, it works.
Today I tried again to get it to work and did a whole slew of tests:
1. I downloaded it with LWP::UserAgent and compared the response objects: besides some minor stuff in the header (which shouldn't matter) - identical!
2. I did a wget on the resources and compared with the diff command - no diffs, which means - identical!
3. I had a look at the headers again and also compared mine with a completely different header which also works fine. Below the headers.
Connection: close
Date: Wed, 29 Aug 2007 17:27:13 GMT
Accept-Ranges: bytes
ETag: "367930c-12a5-ca8adf00"
Server: Apache/2.0.54 (Unix) PHP/4.4.7 mod_ssl/2.0.54 OpenSSL/0.9.7e m
+od_fastcgi/2.4.2 DAV/2 SVN/1.4.2
Content-Length: 4773
Content-Type: application/xml
Last-Modified: Wed, 29 Aug 2007 17:19:24 GMT
Client-Date: Wed, 29 Aug 2007 17:27:14 GMT
Client-Response-Num: 1
- working! (data produced by my script and saved to filesystem. then served by apache)
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-
+check=0
Connection: close
Date: Wed, 29 Aug 2007 17:35:19 GMT
Pragma: no-cache
Server: Apache/2.0.59 (CentOS)
Content-Type: application/xml; charset=UTF-8
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Client-Date: Wed, 29 Aug 2007 17:35:19 GMT
Client-Response-Num: 1
Set-Cookie: PHPSESSID=flmm8b47j1d44dkmsiqjm71l74; path=/
X-Powered-By: PHP/5.1.6
- working! (another site, not my data, but validated ok)
Connection: close
Date: Wed, 29 Aug 2007 18:04:31 GMT
Accept-Ranges: none
Server: Apache/2.0.54 (Unix) PHP/4.4.7 mod_ssl/2.0.54 OpenSSL/0.9.7e m
+od_fastcgi/2.4.2 DAV/2 SVN/1.4.2
Content-Length: 4753
Content-Type: application/xml
Client-Date: Wed, 29 Aug 2007 18:04:33 GMT
Client-Response-Num: 1
Set-Cookie: LX=ID=nth2ctfs6fpg&T=1188410672&L=en; expires=Sun, 17-Jan-
+2038 10:00:00 GMT; path=/; domain=.lumerias.com
- error (my data directly produced by the script but doesn't pass the test)
Where is the invisible difference in my data??
As you can see both responses have the same length, content is completely identical (according to diff) and even the important headers (here: application/xml etc.) are the same... |