scratch – Diff between revs 81 and 86
?pathlinks?
Rev 81 | Rev 86 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | Options -MultiViews |
1 | Options -MultiViews |
|
2 | RewriteEngine on |
2 | RewriteEngine on |
|
- | 3 | # Deleting files can be done by pre-pending the timestamp. |
||
3 | RewriteRule ^([0-9]+?)/([A-Za-z0-9]+)$ delete.php?timestamp=$1&hash=$2 [QSA,L] |
4 | RewriteRule ^([0-9]+?)/([A-Za-z0-9]+)$ delete.php?timestamp=$1&hash=$2 [QSA,L] |
|
- | 5 | # For serving OpenGraph HTML files from the file. |
||
- | 6 | RewriteRule ^og/([A-Za-z0-9]+)$ graph.php?hash=$1 [QSA,L] |
||
- | 7 | # Retrieving a file by the hash. |
||
4 | RewriteRule ^([A-Za-z0-9]+)$ file.php?hash=$1 [QSA,L] |
8 | RewriteRule ^([A-Za-z0-9]+)$ file.php?hash=$1 [QSA,L] |
|
- | 9 | # By default, rewrite everything to index.html |
||
5 | RewriteRule ^$ index.html [L] |
10 | RewriteRule ^$ index.html [L] |