From ebb00419bd268fe7f9551ebe59b91dfd88fb0003 Mon Sep 17 00:00:00 2001 From: donncha Date: Tue, 20 Feb 2007 13:14:34 +0000 Subject: If url ends in "files/" then pass on request to index.php git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@892 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- htaccess.dist | 1 + 1 file changed, 1 insertion(+) diff --git a/htaccess.dist b/htaccess.dist index 3cf8a9e..064d236 100644 --- a/htaccess.dist +++ b/htaccess.dist @@ -6,6 +6,7 @@ RewriteCond %{HTTP_HOST} ^www\.(.*) RewriteRule ^(.*) http://%1/$1 [R,L] #uploaded files +RewriteRule ^(.*/)?files/$ index.php [L] RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] -- cgit