s c h e m a t i c s : c o o k b o o k

/ Cookbook.GettingStartedPlanetWithProxy

This Web


WebHome 
WebChanges 
TOC (with recipes)
NewRecipe 
WebTopicList 
WebStatistics 

Other Webs


Chicken
Cookbook
Erlang
Know
Main
Plugins
Sandbox
Scm
TWiki  

Schematics


Schematics Home
Sourceforge Page
SchemeWiki.org
Original Cookbook
RSS

Scheme Links


Schemers.org
Scheme FAQ
R5RS
SRFIs
Scheme Cross Reference
PLT Scheme SISC
Scheme48 SCM
MIT Scheme scsh
JScheme Kawa
Chicken Guile
Bigloo Tiny
Gambit LispMe
GaucheChez

Lambda the Ultimate
TWiki.org

Using PLaneT With a Web Proxy

Problem

You want to use PLaneT but your computer is behind a web proxy, preventing direct access to the PLaneT server.

Solution

You can easily configure PLaneT to send requests via your proxy. Add the following lines to the file collects/planet/config.ss, changing the details to match your proxy server.

;; Require the URL collection so we can set the proxy
(require (lib "url.ss" "net"))

;; Add the proxy server for the HTTP method.  Change to match your web proxy server
(current-proxy-servers
  '(("http" "webcache.megacorp.com" 3128)))

Discussion

You can find the file collects/planet/config.ss wherever you have installed PltScheme. Under Unix it is probably in the /lib/plt/ or /usr/local/lib/plt, under Windows probably in C:/Program Files/PLT Scheme and for OS X probably in Applications


Comments about this recipe

Contributors

-- NoelWelsh - 22 Aug 2006

CookbookForm
TopicType: Recipe
ParentTopic: GettingStartedRecipes
TopicOrder: 999

 
 
Copyright © 2004 by the contributing authors. All material on the Schematics Cookbook web site is the property of the contributing authors.
The copyright for certain compilations of material taken from this website is held by the SchematicsEditorsGroup - see ContributorAgreement & LGPL.
Other than such compilations, this material can be redistributed and/or modified under the terms of the GNU Lesser General Public License (LGPL), version 2.1, as published by the Free Software Foundation.
Ideas, requests, problems regarding Schematics Cookbook? Send feedback.
/ You are Main.guest