home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / internet / www / ArcWEB / !ArcWeb / PublicHTML / proxy < prev    next >
Text File  |  1995-07-03  |  4KB  |  75 lines

  1. <html><head><title>Proxying Explained</title></head><body>
  2.  
  3. <h2>What is Proxying</h2>
  4.  
  5. In terms of the World-Wide Web, a proxy server is an agent program which
  6. carries out transactions on behalf of a client (ie. <bf>ArcWeb</bf>).  The
  7. proxy server is willing to fetch documents from within certain namespaces
  8. and return them to the client.  Usually, proxies cache the documents that
  9. they have fetched to reduce network loading.  Hence, if you are in the UK
  10. and you fetch a page from the USA, it will be at least as quick to fetch it
  11. via a proxy such as that at <em>wwwcache.hensa.ac.uk</em>.  If the proxy already
  12. has a copy of the page cached, it will return it directly, otherwise it will
  13. fetch it from the source.
  14.  
  15. <h2>And now in plain English ...</h2>
  16.  
  17. Instead of asking the machine which has a document (the target machine) to send
  18.  it to you, you can
  19. ask another machine (the proxy) to do it on your behalf.  There are
  20. advantanges of this scheme because:
  21. <ul>
  22. <li>you only ever need to talk to the proxy machine, which will usually be very
  23. close to you (in network terms) eg. Demon customers can use www.demon.co.uk.
  24. Your link to the proxy machine will be at the highest speed that your machine
  25. can manage.
  26. <li>the proxy machine can talk to the target machine over its highest speed links
  27. which are going to be at least as fast (in Demon's case, very much faster) as your
  28. link.  (However, the loading on the link may make it slower).
  29. <li>the proxy remembers the pages it has been asked to fetch for people.  If it
  30. gets another request for the same page, it just sends you its copy.  It doesn't
  31. matter <em>who</em> asked for it.  So if you happen to be in the UK, and you
  32. ask for a page in the USA, the proxy may not have to bother to talk to the
  33. machine in the USA at all.  This is obviously going to be faster than you having
  34. to connect to the machine in the USA, as the link to the USA is usually heavily
  35. loaded.
  36. </ul>
  37.  
  38. <h2>Proxy Namespaces</h2>
  39.  
  40. The HTTP proxy servers will always respond to http URLs.  The HENSA proxy
  41. also serves gopher, WAIS and FTP URLs.  Since only the HTTP protocol is used
  42. by the client, effectively you get these methods without requiring special
  43. software.  The Demon Internet proxy (on port 8080 of www.demon.co.uk) does
  44. now appear to service FTP, gopher and WAIS in addition to HTTP.
  45.  
  46. <h2>Proxy Trails</h2>
  47.  
  48. It is possible, but unusual, to construct URLs containing multiple proxy
  49. servers.  Thus you specify a URL such as:
  50. <pre>http://www.demon.co.uk:8080/http://wwwcache.hensa.ac.uk:8080/gopher://gopher.doc.ic.ac.uk
  51. </pre>
  52. which will proxy to HENSA via Demon Internet.
  53.  
  54. <h2><img src="#!arcwebtcp">Configuring ArcWebTCP</h2>
  55.  
  56. Load ArcWebTCP and click on the icon bar icon to open the configuration
  57. window.  The default state is to proxy HTTP requests and to proxy FTP,
  58. gopher and WAIS to wwwcache.hensa.ac.uk on port 8080, 8080 & 80 respectively.
  59. To change the proxy server,
  60. you need to know the hostname and the port number.  Enter the host name in
  61. the large box and the port number in the small box next to the protocol.  If
  62. you wish, enable HTTP proxying.  The <em>No Proxy</em> icon chooses domains
  63. which should be excluding permanently from proxying.  It is usual to set
  64. this to at least your own domain.  For me, <tt>ac.uk</tt> is sensible, as
  65. Southampton University is a SuperJANET site anyway and access to the other
  66. academic sites will probably be more efficient if done directly.
  67. <p>
  68. Finally, to save your choices permanently, click Save Choices, to cancel all
  69. changes, click Cancel, and to set the choices, but not save them to disc,
  70. click OK.
  71.  
  72. </hr></body><address><a href="http://louis.ecs.soton.ac.uk/~snb94r/">S.N.Brodie</a><br>
  73. <a href="http://www.ecs.soton.ac.uk/">Dept. Electronics & Computer Science</a><br>
  74. University of Southampton</address></html>
  75.