source: main/trunk/greenstone2/build-src/packages/wget/wgetrc-gs.in@ 31865

Last change on this file since 31865 was 31865, checked in by ak19, 7 years ago
  1. Helpful messages appended to the Download log directing the user to turn on the No Certificate Checking option in Prefs' Connection tab, in case downloading over https fails because the site's certificate is invalid. 2. Must not forget to turn off no_check_certificate in Greenstone's wgetrc template wget config file in gs2build/build-src/packages/wget folder
File size: 4.9 KB
Line 
1###
2### Sample Wget initialization file .wgetrc
3###
4
5# for versions with openssl support, don't want to be forced to run wget
6# with --no-check-certificate each time. Now this is controlled in GLI's
7# File > Preferences > Connection tab by ticking "No certificate checking"
8#check_certificate = off
9
10## You can use this file to change the default behaviour of wget or to
11## avoid having to type many many command-line options. This file does
12## not contain a comprehensive list of commands -- look at the manual
13## to find out what you can put into this file. You can find this here:
14## $ info wget.info 'Startup File'
15## Or online here:
16## https://www.gnu.org/software/wget/manual/wget.html#Startup-File
17##
18## Wget initialization file can reside in /usr/local/etc/wgetrc
19## (global, for all users) or $HOME/.wgetrc (for a single user).
20##
21## To use the settings in this file, you will have to uncomment them,
22## as well as change them, in most cases, as the values on the
23## commented-out lines are the default values (e.g. "off").
24
25
26##
27## Global settings (useful for setting up in /usr/local/etc/wgetrc).
28## Think well before you change them, since they may reduce wget's
29## functionality, and make it behave contrary to the documentation:
30##
31
32# You can set retrieve quota for beginners by specifying a value
33# optionally followed by 'K' (kilobytes) or 'M' (megabytes). The
34# default quota is unlimited.
35#quota = inf
36
37# You can lower (or raise) the default number of retries when
38# downloading a file (default is 20).
39#tries = 20
40
41# Lowering the maximum depth of the recursive retrieval is handy to
42# prevent newbies from going too "deep" when they unwittingly start
43# the recursive retrieval. The default is 5.
44#reclevel = 5
45
46# By default Wget uses "passive FTP" transfer where the client
47# initiates the data connection to the server rather than the other
48# way around. That is required on systems behind NAT where the client
49# computer cannot be easily reached from the Internet. However, some
50# firewalls software explicitly supports active FTP and in fact has
51# problems supporting passive transfer. If you are in such
52# environment, use "passive_ftp = off" to revert to active FTP.
53#passive_ftp = off
54
55# The "wait" command below makes Wget wait between every connection.
56# If, instead, you want Wget to wait only between retries of failed
57# downloads, set waitretry to maximum number of seconds to wait (Wget
58# will use "linear backoff", waiting 1 second after the first failure
59# on a file, 2 seconds after the second failure, etc. up to this max).
60#waitretry = 10
61
62
63##
64## Local settings (for a user to set in his $HOME/.wgetrc). It is
65## *highly* undesirable to put these settings in the global file, since
66## they are potentially dangerous to "normal" users.
67##
68## Even when setting up your own ~/.wgetrc, you should know what you
69## are doing before doing so.
70##
71
72# Set this to on to use timestamping by default:
73#timestamping = off
74
75# It is a good idea to make Wget send your email address in a `From:'
76# header with your request (so that server administrators can contact
77# you in case of errors). Wget does *not* send `From:' by default.
78#header = From: Your Name <[email protected]>
79
80# You can set up other headers, like Accept-Language. Accept-Language
81# is *not* sent by default.
82#header = Accept-Language: en
83
84# You can set the default proxies for Wget to use for http, https, and ftp.
85# They will override the value in the environment.
86#https_proxy = http://proxy.yoyodyne.com:18023/
87#http_proxy = http://proxy.yoyodyne.com:18023/
88#ftp_proxy = http://proxy.yoyodyne.com:18023/
89
90# If you do not want to use proxy at all, set this to off.
91#use_proxy = on
92
93# You can customize the retrieval outlook. Valid options are default,
94# binary, mega and micro.
95#dot_style = default
96
97# Setting this to off makes Wget not download /robots.txt. Be sure to
98# know *exactly* what /robots.txt is and how it is used before changing
99# the default!
100#robots = on
101
102# It can be useful to make Wget wait between connections. Set this to
103# the number of seconds you want Wget to wait.
104#wait = 0
105
106# You can force creating directory structure, even if a single is being
107# retrieved, by setting this to on.
108#dirstruct = off
109
110# You can turn on recursive retrieving by default (don't do this if
111# you are not sure you know what it means) by setting this to on.
112#recursive = off
113
114# To always back up file X as X.orig before converting its links (due
115# to -k / --convert-links / convert_links = on having been specified),
116# set this variable to on:
117#backup_converted = off
118
119# To have Wget follow FTP links from HTML files by default, set this
120# to on:
121#follow_ftp = off
122
123# To try ipv6 addresses first:
124#prefer-family = IPv6
125
126# Set default IRI support state
127#iri = off
128
129# Force the default system encoding
130#locale = UTF-8
131
132# Force the default remote server encoding
133#remoteencoding = UTF-8
134
135# Turn on to prevent following non-HTTPS links when in recursive mode
136#httpsonly = off
137
138# Tune HTTPS security (auto, SSLv2, SSLv3, TLSv1, PFS)
139#secureprotocol = auto
Note: See TracBrowser for help on using the repository browser.