scratch – Rev 86

Subversion Repositories:
Rev:
Options -MultiViews
RewriteEngine on
# Deleting files can be done by pre-pending the timestamp.
RewriteRule ^([0-9]+?)/([A-Za-z0-9]+)$ delete.php?timestamp=$1&hash=$2 [QSA,L]
# For serving OpenGraph HTML files from the file.
RewriteRule ^og/([A-Za-z0-9]+)$ graph.php?hash=$1 [QSA,L]
# Retrieving a file by the hash.
RewriteRule ^([A-Za-z0-9]+)$ file.php?hash=$1 [QSA,L]
# By default, rewrite everything to index.html
RewriteRule ^$ index.html [L]