I have a dynamic webpage which I want to create a "frozen" copy of.
Typically I would do something like
wget -m http://example.com, and then put the files in the document root of the web-server.
This site however has some dynamic content, including dynamically generated images, for instance
This means that in order to mirror the page, I need to
Save whatever headers the server currently serves for each URL (at least which MIME types it reports).
This can be done using the
Serve the static pages and serve the proper headers (at least the content type headers) for each file.
(This I have no idea of how to do.)
What is the best way to solve this? Any suggestions are welcome.
Put differently: How can I serve files without an extension with the correct MIME type header? (Where the original webserver defines what the correct MIME type really is.)