From cafa7fe7871b006b2c3478c1e2203e3dfa140dbc Mon Sep 17 00:00:00 2001 From: donncha Date: Wed, 21 Mar 2007 13:11:19 +0000 Subject: Check that the file exists first. Fixes #215. git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@929 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- htaccess.dist | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'htaccess.dist') diff --git a/htaccess.dist b/htaccess.dist index 0f14905..7e5f5e7 100644 --- a/htaccess.dist +++ b/htaccess.dist @@ -9,6 +9,10 @@ RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule . - [L] +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L] +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L] -- cgit