Questions tagged [curl]

cURL is an HTTP client library and command line tool.

646 questions
0
votes
1 answer

Issue installing gcc & curl-devel on Centos OS 5.6

I'm trying to install gcc and curl-devel on CentOS 5.6 (64 bit) server. The command I'm using is: yum install gcc \ curl-devel After running the command it says: No package gcc available. No package curl-devel available. Is there another way…
Aaron
  • 183
  • 3
  • 12
0
votes
1 answer

curl lot loaded after adding SFTP support

I installed Tartarus, and since my current curl didn't have SFTP support I've done this . Tartarus worked fine but I started to receive mails: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/curl.so' -…
nordashi
  • 15
  • 4
0
votes
1 answer

How to mention the prefix directory path in CURL command

I am new to Linux, i want to write the perl script to download the files from FTP sites but here i want to use curl command to download the files. which is working fine in wget command but not working with curl command. The below coommand is…
user2767714
  • 1
  • 1
  • 1
0
votes
1 answer

Use user's computer as a proxy for cURL

I am making an application that fetches some data via cURL, it logs in to a site and fetches statistics of a user. But my problem is, that cURL uses the IP of my server, so if I get more than 1 user, every account that logs in will get banned. I had…
0
votes
1 answer

Apache not serving HTTPS to localhost

This just started being a problem (likely after a software upgrade?). The relevant config bits are: ServerAdmin webmaster@singpolyma.net ServerName singpolyma.net ServerAlias www.singpolyma.net RewriteEngine on …
singpolyma
  • 489
  • 2
  • 7
  • 19
0
votes
1 answer

On my virtual EC2 instance, what is my IP will a webpage detect if I curl it?

I have one small server on EC2. Let's say I cURL facebook.com. What IP will facebook see as the "client address"? Is it random?
Alex
  • 8,471
  • 26
  • 75
  • 99
0
votes
1 answer

Perform HTTP request through non-default gateway (CURL? WGET?)

I have two ISPs /two routers on my LAN with Windows boxes. Switching default gateway (per PC) works fine, so I can choose my outgoing traffic from particular PC to be initiated from whichever ISP I want. Is there any way to perform some specific…
rcigx
  • 11
  • 1
  • 1
0
votes
1 answer

Network request intercept preventing local connections

I'm experiencing a really weird issue on my Ubuntu 10.04 web server where something appears to be intercepting my network requests. Most importantly it's preventing me from performing local connections, and so my HTTP server can't connect to its…
zmthy
  • 103
  • 1
0
votes
1 answer

curl fails to take self signed certificate

I've installed apache 2 server with self signed certificate.My browser is showing 'It works!' when I tried to connect to the sever. But from an application when I issued cur_easy_perform() the call failed with error code 60: Peer certificate cannot…
crusader
  • 3
  • 4
0
votes
1 answer

Executing cURL upon Git Push

I'm very new to running a Git server, and I needed to trigger a Jenkins build upon pushing to Git. A tutorial says to do this command: curl http://[jenkins]/git/notifyCommit?url=[job] but it doesn't tell you how to trigger that cURL upon a git…
Ryan
  • 197
  • 1
  • 3
  • 10
0
votes
1 answer

Get a URL with variables via Linux Command Line

Sorry if this seems to be a very simple command, but I have been searching for hours without any solutions and exhausted my very limited knowledge of Linux. :-) I need to use some command to process the following URL from a Centos Linux command…
Scott
  • 3
  • 1
  • 2
0
votes
1 answer

How to check ip blacklist using curl/wget request to mxtoolbox?

I would like to add cron job to check server ip on blacklist. something like curl 'http://mxtoolbox.com/SuperTool.aspx?action=blacklist%3a142.11.193.83' | grep 'you are on a blacklist.' wget…
Alex
  • 105
  • 1
  • 3
0
votes
3 answers

Curl don't work on cron execution

I have bash a script like the following #!/bin/bash date curl http://lab.nextt.com.br/somefile1.html -z ../public_html/somefile1.html -o ../public_html/somefile1.html --silent --show-error --location curl http://lab.nextt.com.br/somefile2.html -z…
Filipiz
  • 117
  • 1
  • 2
0
votes
2 answers

Testing if a server is up with curl and grep. Grep adds headings?

Hi I'm trying to see if a server I'm running has been stopped (if it has, it returns a 502 Bad Gateway message.) So I tried to do this : curl http://MY_URL | grep "502" The curl part returns what I expect it to. But when I pipe it into grep, grep…
interstar
  • 1,281
  • 4
  • 18
  • 23
0
votes
1 answer

Curl, matching a string in website response content

Is there any way that i can verify the contents of a page, if they exist in it? like if i open google.com, if its page content has "Error" in it, then i can know that the page is not opened correctly. (i already know the ways to check the page…
Farhan
  • 4,269
  • 11
  • 49
  • 80