From d406f9b4a4af3672f059e5c754185c39790a0449 Mon Sep 17 00:00:00 2001 From: shish Date: Wed, 18 Jul 2007 09:17:31 +0000 Subject: [PATCH] more generic match git-svn-id: file:///home/shish/svn/shimmie2/trunk@320 7f39781d-f577-437e-ae19-be835c7a54ca --- .htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index 74d662a9..2a48b3a2 100644 --- a/.htaccess +++ b/.htaccess @@ -8,8 +8,8 @@ RewriteEngine on # rather than link to images/ha/hash and have an ugly filename, # we link to images/hash/tags.ext; mod_rewrite splits things so # that shimmie sees hash and the user sees tags.ext -RewriteRule ^_images/([0-9a-f]{2})([0-9a-f]{30})/.*\.(.*)$ images/$1/$1$2 [L] -RewriteRule ^_thumbs/([0-9a-f]{2})([0-9a-f]{30})/.*\.jpg$ thumbs/$1/$1$2 [L] +RewriteRule ^_images/([0-9a-f]{2})([0-9a-f]{30}).*$ images/$1/$1$2 [L] +RewriteRule ^_thumbs/([0-9a-f]{2})([0-9a-f]{30}).*$ thumbs/$1/$1$2 [L] # any requests for files which don't physically exist should be handled by index.php RewriteCond %{REQUEST_FILENAME} !-f