projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d4ccd8
)
Pastie: Add routes for getting pastes via uuid
author
Ben Klang
<ben@alkaloid.net>
Tue, 18 May 2010 02:05:14 +0000
(22:05 -0400)
committer
Ben Klang
<ben@alkaloid.net>
Tue, 18 May 2010 02:05:14 +0000
(22:05 -0400)
pastie/.htaccess
[new file with mode: 0644]
patch
|
blob
diff --git a/pastie/.htaccess
b/pastie/.htaccess
new file mode 100644
(file)
index 0000000..
9158a9c
--- /dev/null
+++ b/
pastie/.htaccess
@@ -0,0
+1,6
@@
+<IfModule mod_rewrite.c>
+ 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]
+</IfModule>