In Apache, is there any way (using scripts like CGI and PHP, etc.) that will fetch all static content (html, images, and files within a specified size range) and send it to the user as a randomized link, set with a (30 minute for example) expiration? This would preferably not use mod_proxy or it's reverse, as all files will be on the same server. I'm just trying to learn, for a reasonable way to make something like this: http://www.example.com/09-21-2011/USA/CA/article-name.html to appear as http://www.example.com/09-21-2011/USA/CA/randomnumbersandletters (with no .html). I realize the html part can be fixed easily with mod_rewrite.
Any help on this would be much appreciated.
There is an example of this working here: http://memory.loc.gov/frd/cs/httoc.html Click on any of the links to a section of the article, scroll to the bottom of that page.
Says this:
Do NOT bookmark these search results.
Search results are stored in a TEMPORARY file for display purposes.
The temporary file will be purged from our system in a few hours.
Links as this:
.../cgi-bin/query/r?randomnumbersandletters
Optional function would be to store the temporary sessions in a SQL database and include user IP and time/date accessed.