I have a web application of a conference that has been closed years ago. There is no real need for the application to be running any more so I'd like to create static pages from the dynamically generated pages.
I ran wget http://site.name.org/ and now I have bunch of files called talk.html?id=77 with numbers from 1-300
How can I co开发者_如何学Cnfigure Apache to map the request of /talk.html?id=77 to the actual file that is called talk.html?id=77 ?
(Using Apache 2.2 )
You don't need to do any special configuration to Apache.
However, when requesting the file, you need to encode the ?
in the URL so that it is not interpreted as a querystring.
The URL encoding of ?
is %3F
.
So the URL that should work for that file is /talk.html%3Fid=77
精彩评论