diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-02-20 13:14:34 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-02-20 13:14:34 +0000 |
commit | ebb00419bd268fe7f9551ebe59b91dfd88fb0003 (patch) | |
tree | d36b6d0255a80434f77ea604c02d8c0796c0bc72 /htaccess.dist | |
parent | 0928143658cd53ed040d497502e27dac2dc48f18 (diff) | |
download | wordpress-mu-ebb00419bd268fe7f9551ebe59b91dfd88fb0003.tar.gz wordpress-mu-ebb00419bd268fe7f9551ebe59b91dfd88fb0003.tar.xz wordpress-mu-ebb00419bd268fe7f9551ebe59b91dfd88fb0003.zip |
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
Diffstat (limited to 'htaccess.dist')
-rw-r--r-- | htaccess.dist | 1 |
1 files changed, 1 insertions, 0 deletions
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] |