cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl output appears different from what stored in file...

From: Russ Jones <rjones_at_angular.marketing>
Date: Wed, 28 Jan 2015 19:45:00 -0500

I am using the following command line...

curl -L -k -A "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36" -interface
192.71.23.48 -o "/var/www/html/cache/test-192.71.23.48.txt"
http://www.trusted-link.com/ip.php

The terminal prints out...

HTTP/1.1 200 OK
Date: Thu, 29 Jan 2015 00:45:08 GMT
Server: Apache/2.2.3 (CentOS)
X-Powered-By: PHP/5.3.3
Content-Length: 121
Connection: close
Content-Type: text/html; charset=UTF-8

80.248.225.2
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/39.0.2171.95 Safari/537.36[

But the file, /var/www/html/cache/test-192.71.23.48.txt, stores... (along
with the default 403 page for CentOS)

HTTP/1.1 403 Forbidden^M
Date: Wed, 28 Jan 2015 22:49:44 GMT^M
Server: Apache/2.2.15 (CentOS)^M
Accept-Ranges: bytes^M
Content-Length: 4954^M
Connection: close^M
Content-Type: text/html; charset=UTF-8

Any ideas?

-- 
========================================================
Russ Jones, CTO
rjones_at_angular.marketing
Angular
101 J. Morris Commons Lane - Suite 105
Morrisville, NC 27560
P: 919-459-1035
F: 919-747-4362

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-01-29