If my server is at example.com
, running
$ wget example.com
will only download the file index.html
. How can I make wget
either
- download another file instead of index.html
- download this file along index,html
I have all redirection I could find pubkey.asc
is my file):
<meta http-equiv="Refresh" content="seconds; url=pubkey.asc ">
<script language="javascript"> window.location.href = "http://example.com"
<link rel="canonical" href="pubkey.asc"/>
<script> document.location.href="pubkey.asc";</script>
<script>window.location.href='pubkey.asc';</script>
<meta http-equiv="refresh" content="0; url=pubkey.asc" />
PS: I am posting here instead of web.stackexchange since wget
mechanism is involved.
Combined with
wget -r http://example.com
downloads both index.html and pubkey.asc