I am trying to load the source of any page into a textbox for a client side only html editor. I need to be able to get the entire source of a web page, not just the body. This yql query returns just the body:
http://query.yahooapis.com/v1/public/yql?format=xml&callback=editor.handleLoad&q=select+*+from+html+where+url%3D%22exampl...
I'm trying to use the latest (4.0.1) Apache http core components library. However, my web browser goes through a proxy - suppose it is myproxy.com:9191. Could someone provide some sample code for getting a simple http get to use this as a proxy?
I've tried adding the following at the beginning of my code, but had no joy:
ProxySelector....
I have a site that needs to use mod_rewrite to direct traffic to www.example.com to 123.45.67.89, port 8080, through an internal proxy. This is the rewrite rule I'm using:
RewriteEngine On
RewriteRule ^(.*)$ http://123.45.67.89:8080/$1 [P]
When I visit www.example.com/myurl, I receive the following error with a 404:
The requeste...
It seems like there might be a way, but I'm not seeing it. I have, in the past, used the valueOf() and toString() methods on Object to cause custom objects to behave in numbers or strings based on context, but I'd like to do more.
...
I need to install a socks5 server on my linux server, I tried ss5, but it's not easy to install it, are there other alternatives?
ss5 error below when I tries to make install.
make[1]: Entering directory `/root/app/ss5-3.7.8/common'
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -c -o SS5OpenLdap.o SS5OpenLdap.c
SS5Op...
Hi there!
Does anyone of you has ever seen a real life occurence of the HTTP "Expect" header?
Or any proxy or server answering with a "100 Continue"-Status Message?
Do popular HTTP servers like IIS or Apache ever encounter situations where a "100 Continue" is returned?
Thanks,
Max
...
My problem is: in firefox i got no response. in ie it worked fine.
I want a ajax call to a local script getting some information in plain text or something else. but it won't work. I think cross scripting should not a problem at this point or?
the javascript code is simple:
var targetUrl = "http://localhost/jQueryProxy.php";
var parame...
How can I get the current Windows' browser proxy setting, as well as set them to a value?
I knnow I can do this by looking in the registry at Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyServer, but I'm looking, if it is possible, to do this without directly messing with the registry.
...
Thinking through an idea, wanted to get feedback/suggestions:
Having had great success with url rewriting and nginx, I'm now thinking of a more capable reverse proxy/router that would do the following:
Map requests to handlers based on regex matching (ala Django)
Certain requests would simply be routed to backend servers - eg. static ...
I'm trying to figure out how to robustly handle proxy authentication errors (HTTP
407 status code) when using the System.Net.WebClient class.
In the field, we see many users receiving a 407 proxy authentication
WebException, but I'm not sure what a good default strategy is. In .Net
2.0/3.5, the proxy authentication settings are supp...
Here is the situation. I have a site that only allows one user to be logged in at one time. However, I need a server to scrape this site and put data into the database. However the admin need to be be able to log into this site from time to time.
So what I would like is for the server to proxy the admins login so that the server won't ...
Hi All
Please tell me a way to access visual svn server from another machine using a tortoise SVN client.
Evert time I try it gives me a 502 proxy error.
Please help me out!!!
Keats
...
I've got a WCF service on a server on one side of a firewall. I need to access the service from many workstations on the other side of the firewall. The network guys insist that all holes through the firewall are one-to-one so at the mo, I'll have to set up every workstation one by one. There could be loads and it'll get tedious and b...
Let's say I have an iPhone app that has a UIWebView. Is it possible to write my own HTTP proxy server on the iPhone and then have every page that's loaded in the UIWebView go through this proxy?
I guess there are two main parts:
Write an HTTP proxy server on the iPhone
Make sure all requests from the UIWebView go through my own proxy
...
Hello,
I am trying to make async web service call from asp.net 2.0 web client to WCF web service. I created the proxy class using the svcutil.exe with the async option. Here is an example of the client code calling the web service:
protected void Page_Load(object sender, EventArgs e)
{
WSClient client = new WSClient();
Asyn...
I'm attempting to connect to a remote HTTPS SVN server from inside a corporate firewall using TortoiseSVN. I am required to use a proxy for this connection. My problem is that TortoiseSVN's proxy settings only include an option to set a direct proxy server address. The proxy I am connecting through, however, is configured via a script. I...
I want to share information between Class A (Server) and class B (Client) over RMI, but to avoid firewall issues, I want to add a Class C (proxy) to forward requests from client to server, or from server to client. My first idea was to create a registry on the server and the proxy, and clients can lookup and call methods on the proxy, w...
I am working on developing an extensible MUD/ORPG game server framework in C#. As part of the package, I would like to include a SOCKS5 proxy client that could be installed on user's machines. This proxy client would sit between the user's standard telnet client (zMUD, GMUD, MUSHclient, or just plain telnet) and the MUD game server, and ...
I want to write a simple web proxy, for exercise. Here's the code I have so far:
def g = new Proxy()
g.serverPort = 9000
println "starting"
g.eachClient { Socket client ->
println "got a client"
try {
client.withStreams { input,output ->
String text = input.text
println "received $text from clien...
1) How would I connect through a proxy if I am using the Socket class to connect to a server?
2) If I am running my Flex application through Flash Player in a webbrowser and my webbrowser is configured to use a proxy, does the socket connection go through the proxy automatically?
Ideally, I would like to not have to depend on the web b...