From 31e55ca24a9cf01200a360e01a37cdc9c241c054 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Sun, 24 Apr 2016 04:14:58 +0200 Subject: [PATCH] .htaccess: Pass full URL to Pico when requesting content, lib... dirs This allows Pico to e.g. serve content/config.md when http://example.com/pico/config/ is requested --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index aa6d489..9e7ac73 100644 --- a/.htaccess +++ b/.htaccess @@ -5,7 +5,7 @@ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?$1 [L,QSA] - RewriteRule ^(.git|config|content|content-sample|lib|vendor)/.* index.php?404 [L] + RewriteRule ^(.git|config|content|content-sample|lib|vendor)/.*$ index.php?$0 [L,QSA] SetEnv PICO_URL_REWRITING 1