From 0ef5cf53e69550a6f243978d1bf1fa6f52b16d69 Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Mon, 17 May 2010 22:05:14 -0400 Subject: [PATCH] Pastie: Add routes for getting pastes via uuid --- pastie/.htaccess | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 pastie/.htaccess diff --git a/pastie/.htaccess b/pastie/.htaccess new file mode 100644 index 000000000..9158a9c9a --- /dev/null +++ b/pastie/.htaccess @@ -0,0 +1,6 @@ + + RewriteEngine On + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^uuid/([0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]+)$ view.php?uuid=$1 [QSA,L] + -- 2.11.0