From 97ae7a1a171ed702c33b916599b6cda608cca99a Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Thu, 18 Jul 2013 17:58:50 -0700 Subject: [PATCH] htaccess: do not 404 on directories For the most part, all requests to a server configured solely for Girocco end up pointing to a file -- either a script or an actual file to return. Except for one. The root of the web site will be a directory and needs to be allowed without causing a 404 error. --- htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/htaccess b/htaccess index 051b461..952912c 100644 --- a/htaccess +++ b/htaccess @@ -17,4 +17,5 @@ RewriteCond %{QUERY_STRING} (.*h=.*;)hb=[^;]*(.*) RewriteRule (.*) $1?%1%2 [R=303,NE,L] RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* - [R=404,L] -- 2.11.4.GIT