From 0f8deda6a310da3f48bc72fe0010212653a359ac Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Wed, 27 Apr 2016 21:07:59 +0200 Subject: [PATCH] Update .htaccess Sync with Pico 1.0.3; see ee5b4f0 --- .htaccess | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index 875db33..54cbc9b 100644 --- a/.htaccess +++ b/.htaccess @@ -3,8 +3,9 @@ # May be required to access sub-directories #RewriteBase / - # Deny access to internal dirs by passing the URL to Pico - RewriteRule ^(.git|config|content|content-sample|lib|vendor)(/|$) index.php [L] + # Deny access to internal dirs and files by passing the URL to Pico + RewriteRule ^(\.git|config|content|content-sample|lib|vendor)(/|$) index.php [L] + RewriteRule ^(CHANGELOG.md|composer.(json|lock)) index.php [L] # Enable URL rewriting RewriteCond %{REQUEST_FILENAME} !-f