我已经得到
GNU WGET 1.102
对于Windows和Linux以及
-K
选项在这两者上的行为不同。
-K,--转换链接使下载的HTML中的链接指向本地文件。
在Windows上生成:
www.example.com/index.html
www.example.com/index.html@page=about
www.example.com/index.html@page=contact
www.example.com/index.html@page=sitemap
在Linux上,它产生:
www.example.com/index.html
www.example.com/index.html?page=about
www.example.com/index.html?page=contact
www.example.com/index.html?page=sitemap
这在Linux中是有问题的,因为当我通过Apache为镜像服务时,它不会区分4个生成的页面,因为在questionmark之后的部分(
?
)字符用作文件的查询字符串。
我有什么办法控制这个吗?
谢谢