Hello all - I tries to look through the archives, but couldn't find anything related to what I need. We use wget for mirroring a dynamically generated site and it work very very cool :)
Many of the pages we download contain queries, so if a URL looks like : http://somehost/page.html?a=v1&b=v2, then the saved url will look like : somehost/[EMAIL PROTECTED]&b=v2 (we always use @ instead of ? when saving the queries) Now if one would like to serve this saved file as a page, they'll have to change the default content type for the server from text/plain to text/html otherwise the http headers are not set correctly. The -E option of wget solves this, because it causes wget to add ".html" to the end of the saved file: somehost/[EMAIL PROTECTED]&b=v2.html Is there any easy way for removing the file extention when using -E ? So that the saved file would look like : somehost/[EMAIL PROTECTED]&b=v2.html I guess I can try to work on a patch - unless this has already been developed. Many thanks for your help. Best regards, Petar Karafezov
