The Dreamhost Wayback Machine
Posted by: jdaskew
Posted on: 2008-05-29 07:43:00
I just noticed an interesting "feature" here. The .snapshot directories are apparently accessible from the web. As an example, my homepage from a week ago is here:
http://www.askew.net/.snapshot/weekly.1/index.htm
I could see this as a problem if, say, you fixed a security bug in a php page. The old page w/ the faulty code would remain accessible for up to two weeks. The same would go for changes to .htaccess.
Speaking of .htaccess, could that provide a mechanism to block access to the .snapshot path? I'm not an apache expert, but maybe someone else knows: Can .htaccess block traversal? IOW, assuming htaccess will do the job, can I simply modify the one in my root, or would I need to put one in all subdirs (and wait for two weeks for it to propagate to all .snapshot dirs)?