Hello, I have CGI proxy that works on my localhost, but when I try to get it work on another server I get Premature end of script headers. I have included the source below. I also tried print header instead of the text/xml and it worked localhost but it failed on the server.
use strict;
#use warnings;
use CGI qw(:standard);
use CGI::Car...
I'm trying to write a tool to check if a proxy server is up and available for use. So far, I've come up with two methods in the class below (I've removed setters and getters that are superfluous to this question).
The first method uses cURL and tries to request a page via the proxy, the second tool uses fsockopen and just tries to open...
hi,
i want my curl to use random proxy from the proxy.txt file that is saved in my site with this format:
1.1.1.1:8080
2.2.2.2:8080
3.3.3.3:8080
...
I want it to make it randomly so that every time it uses different proxy from the proxy.txt list, but i have no idea i can code something like that in php.
...
Using ssh, I can use another computer as a proxy, for ex.
$ssh -D 9999 username@ip-address-of-ssh-server
Now, I can configure my application to use socks proxy on port 9999 at the above given up address.
If I own a web server, can i make a php script which also listens from connections on a particular port (preferably access provided...
Designing a Windows Forms application using C#, i am facing a problem. The application performs its functions smoothly when connected to the Internet but the real problem starts when we try the application in our College.
Our College connects to the Net using proxy gateways. The Proxy server is "192.168.120.5" and Proxy Port "8080".Eve...
Hi,
I am developing a Java webservice application (with JAX-WS) that has to use two different proxies to establish separated connections to internet and an intranet. As solution I tried to write my own java.net.ProxySelector that returns a java.net.Proxy instance (of type HTTP) for internet or intranet.
In a little test application I tr...
Running Eclipse 3.5 (= Galileo) under (K)Ubuntu Linux 9.10 . Corporate environment with HTTP proxies.
I have my Preferences | General | Network Connections all set up with HTTP, host, port, Authentication required and the credentials.
Eclipse is asking for my master password at Eclipse startup. So I've provided all the authorization I...
I'm trying to make a php cURL script that should act like a bridge/proxy (like "man in the middle" but nothing hacking ), make a POST to a url (example.com) and redirect the client to that link after it gets the response .
I'm not sure if it's possible so please advise.
Basically the client will pass 2 values through our site (e.g exam...
Using NetBeans 6.8 I managed to write a JAX-WS Web Service client for a service which runs in the Internet.
Within NetBeans, communication through the HTTP firewall works fine.
Now I tried to run the client in a Servlet in JBoss 4.2.3.GA, here the request fails with the message:
HTTP transport error: java.net.UnknownHostException: www...
Hi ,
I am trying to use Channel Factory and caching it in my asp.net mvc.
I am using PerSession Instance mode as I need to know the state.
Because of this I cannot close the proxy immediately. And I dont want
to reopen ,close proxy everytime.
If I leave the proxy open it is timing out at the 12th time. I can
increase the concurrent sess...
Hi,
could anyone recommend a good open source http proxy server written in java.
I've found some simple proxy servers consisting of just one java file but they don't always work. In particular there I need to run a java applet communicating with the server through proxy. The communication fails with simple proxies. I tried squid and it w...
I'm using Ruby+Watir to request pages through Firefox.
I would like to record the headers and content of every http request made through the browser.
Would it be possible to configure a proxy solution to store this information, either in a file or pipe it straight into an application? Could I use something such as squid or nginx to rec...
I want to use ssh, something like this:
ssh -D 9999 username@ip-address-of-ssh-server
But within php CURL, but I don't really see how this could be done?
I noticed “CURLPROXY_SOCKS5” as a type in the php site, but guess that wouldn’t work since it isn’t really socks, it’s ssh…
I’m currently using this code:
curl_setopt($ch, CURLOPT...
I have a Mongrel cluster behind nginx and am trying to get nginx to serve up the static contents of my site with the following rule (RESTful URLs):
location / {
if (-f $request_filename) {
break;
}
if (!-f $request_filename) {
proxy_pass http://mycluster$request_uri;
br...
I have a simple proxy source in C++. I'm trying to modify it to inject some html content into specific pages. I'v managed to get it working but whenever I inject something, part of the original html gets corrupted. I know for a fact that it's not my string handling functions because I have it printing out the result before sending and it...
A django web app needs to make ajax calls to an external url. In development I serve directly from django so I have a cross domain problem. What is the django way to write a proxy for the ajax call?
...
Hi everybody
Does anybody know how can I proxy SQL Server requests through another application.
I have desktop based application and I do not want the application to directly connect to SQL Server.
...
I have developed quite a number of sites using wordpress, many of which are not blogs and wordpress is only being used as a CMS although I am finding more and more that sites powered by wordpress are being blocked as they are categorised as "blogging/social". The sites in question are neither a blog nor social related.
Has anyone come ...
I would like to use different proxies instead of just one. Currently the ProxySelector sets a system wide proxy for all URLConnections. Does anyone know of a library that supports non system-wide proxies. Just something as simple as adding the appropriate proxy http headers/socks layers?
...
I want to have multiple threads, each using a different proxy for Jakarta Common's HTTPClient. Last time I check, it was only possible to set one global/static proxy for this API. Does anyone how to accomplish the prior stated goal?
...