I have GNU Wget 1.10.2 for windows and linux, and the -k option behaves differently on the two.
-k, --convert-links link at the loaded HTML point to local files.
In the windows it produces:
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
and on linux it produces:
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
This is a problem in Linux because when I serve the mirror through Apache, it will not distinguish between 4 generated pages, since the part after the question mark ( ? ) Is used as the query string for the file.
Any ideas on how I can control this?
thanks
source
share