Questions tagged [proxy]

A device or program that stands between two or more interconnected programs or devices. Use [dynamic-proxy] for the Java class, [proxy-pattern] for the design pattern, [es6-proxy] for the JavaScript Proxy object.

A proxy server is a server that acts as an intermediary for requests from clients seeking resources from other servers. A client connects to the proxy server, requesting some service, such as a file, connection or a web page available from a different server, and the proxy server evaluates the request as a way to simplify and control its complexity.


Purpose

Many users worry about what kind of information can be traced back to them. An Internet proxy server can be used as an intermediary so that the sites never directly connect to the host network. Some websites block certain Internet users by geography, so using a Web proxy located in the Web host's country will allow foreign users to use the website.


References

19642 questions
99
votes
12 answers

How to use vagrant in a proxy environment?

My company's network is using proxy. So when I use vagrant up, it showed me a 401 permission error. How can I do some setting to use vagrant?
ithelloworld
  • 2,207
  • 4
  • 16
  • 16
99
votes
6 answers

How to configure a HTTP proxy for svn

I want to check code from the repository http://code.sixapart.com/svn/perlbal/ . I can only access the the repository url by setting a proxy. I guess if I want to get the code from the same URL by svn I need to configure a proxy, too. So does anyone…
Haiyuan Zhang
  • 40,802
  • 41
  • 107
  • 134
95
votes
10 answers

GitHub Windows client behind proxy

I'm trying to get the GitHub client for Windows working. I am on a corporate Win 7 x64 computer behind a corporate proxy and firewall. Following various other posts and experimenting with multiple combinations of environment variables and config…
Joshua Honig
  • 12,925
  • 8
  • 53
  • 75
94
votes
4 answers

What is the function of the "Vary: Accept" HTTP header?

I use PHP to generate dynamic Web pages. As stated on the following tutorial (see link below), the MIME type of XHTML documents should be "application/xhtml+xml" when $_SERVER['HTTP_ACCEPT'] allows it. Since you can serve the same page with 2…
AlexV
  • 22,658
  • 18
  • 85
  • 122
92
votes
8 answers

Is it possible to rewrite a status code with Charles Proxy?

I'm using Charles Proxy to rewrite a response from an API for testing purpose. If I set a breakpoint, I am allowed to completely rewrite the raw response as I wish. However, if I want to automate it via the "Rewrite" tool, I'm stuck, it seems that…
Thomas
  • 1,360
  • 1
  • 9
  • 15
91
votes
8 answers

How to fill in proxy information in cntlm config file?

Cntlm is an NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy intended to help you break free from the chains of Microsoft proprietary world. I have my proxy URL in the following…
Dilawar
  • 5,438
  • 9
  • 45
  • 58
91
votes
4 answers

When should one use CONNECT and GET HTTP methods at HTTP Proxy Server?

I'm building a WebClient library. Now I'm implementing a proxy feature, so I am making some research and I saw some code using the CONNECT method to request a URL. But checking it within my web browser, it doesn't use the CONNECT method but calls…
Alexsandro
  • 1,191
  • 1
  • 14
  • 22
89
votes
8 answers

Hibernate: Difference between session.get and session.load

From the API, I could see it has something to do with proxy. But I couldn't find a lot of information on proxy and do not understand the difference between calling session.get and session.load. Could someone please explain or direct me to a…
tomato
  • 5,644
  • 13
  • 43
  • 48
88
votes
9 answers

How do I run Node.js on port 80?

My aim is to run Node.js on port 80. This is because I am finding node.js is being blocked from certain networks which do not allow traffic from any other port. It appears that the best way to do this is by proxying Apache through Node.js. I have…
Kit
  • 4,095
  • 7
  • 39
  • 62
87
votes
3 answers

Nginx proxy Amazon S3 resources

I´m performing some WPO tasks, so PageSpeed suggested me to leverage browser caching. I have improved it successfully for some static files in my Nginx server, however my image files stored in Amazon S3 server are still missing. I have read an…
Rober
  • 5,868
  • 17
  • 58
  • 110
86
votes
4 answers

HttpClient and using proxy - constantly getting 407

Here is the code: HttpClient client = null; HttpClientHandler httpClientHandler = new HttpClientHandler() { Proxy = new WebProxy(string.Format("{0}:{1}", proxyServerSettings.Address, proxyServerSettings.Port),false), PreAuthenticate…
dexter
  • 7,063
  • 9
  • 54
  • 71
85
votes
3 answers

Assigning vhosts to Docker ports

I have a wildcard DNS set up so that all web requests to a custom domain (*.foo) map to the IP address of the Docker host. If I have multiple containers running Apache (or Nginx) instances, each container maps the Apache port (80) to some external…
ringmaster
  • 2,879
  • 3
  • 28
  • 31
84
votes
2 answers

how does http proxy work?

I searched the web for something about http-proxy. I read wiki-articles about proxy server. But I still don't understand how http proxy works, stupid me. Here is my assumption about how http proxy works: If I set the http-proxy to a specific one,…
Alcott
  • 17,905
  • 32
  • 116
  • 173
83
votes
8 answers

How do I see the raw HTTP request that the HttpWebRequest class sends?

I know you are all going to answer "use a debugging proxy server like Fiddler" but it's not that simple. Here's my situation: I have some code that runs on a server, in an ASP.NET page code-behind (aspx.cs), which (among other things) establishes a…
eeeeaaii
  • 3,372
  • 5
  • 30
  • 36
83
votes
4 answers

Forward request headers from nginx proxy server

I'm using Nginx as a proxy to filter requests to my application. With the help of the "http_geoip_module" I'm creating a country code http-header, and I want to pass it as a request header using "headers-more-nginx-module". This is the location…
Peleg
  • 1,025
  • 1
  • 7
  • 11