如果我的服务器在example.com ,正在运行
$ wget example.com
只会下载文件index.html 。 我怎样才能使wget
我可以find所有的redirectpubkey.asc是我的文件):
<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:我在这里发布而不是web.stackexchange,因为涉及wget机制。
<!DOCTYPE html> <head> <meta http-equiv="refresh" content="0;URL=pubkey.asc"> </head> <body> </body> </html>
结合wget -r http://example.com
同时下载index.html和pubkey.asc