- From: Francesco Siviero ARPA-SIM <fsiviero@smr.arpa.emr.it>
- Date: Mon, 18 Oct 2004 12:49:27 +0200
- To: Ville Skyttä <ville.skytta@iki.fi>
- CC: www-validator@w3.org
Ville Skyttä wrote: > > First, locate the line > > my $ua = new LWP::UserAgent; > > ...in the check script. Add the following line after that: > > $ua->env_proxy(); > > > SetEnv http_proxy http://username:password@your-proxy-host:port/ > Thanks for answering. After some trouble I've found that the SetEnv directive needs the mod_env loaded (I'm quite a newbie, so maybe I could be worng). So what I've changed is: in check script my $ua = new LWP::UserAgent; $ua->env_proxy(); $ua->agent("W3C_Validator/$VERSION " . $ua->agent); in http.conf <IfModule mod_env.c> SetEnv http_proxy http://myuser:mypassword@myproxy:myport/ </IfModule> but I'm not sure to understand what you mean with "Then, add your proxy settings as environment variables to your web server config (somewhere so that they apply to the "check" script)" because nothing seem to have changed (i'm sure of the proxy information, user, password, address and port). If you have another little tip I'll save a big headache, (I'm trying to find information on the link provided). Thanks again. -- ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤ ¤¤ Francesco Siviero ¤¤ ¤¤ ARPA - SIM Area Informatica ¤¤ ¤¤ Tel 0516497 519 Fax 0516497 501 ¤¤ ¤¤ fsiviero@smr.arpa.emr.it ¤¤ ¤¤ http://www.arpa.emr.it/sim ¤¤ ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Received on Monday, 18 October 2004 10:59:41 UTC