From 6456924537503f5bcf7b60037ba4ce1902e1f518 Mon Sep 17 00:00:00 2001 From: R Odili Date: Tue, 22 Dec 2015 02:09:38 -0500 Subject: [PATCH] fix formatting --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ac3bfe5..c3b18170 100755 --- a/README.md +++ b/README.md @@ -9,11 +9,13 @@ without hitting the disk at all. See nginx's HttpRedis2Module module for more of If you don't have HttpRedis2Module, i've included a 404.php that you can use with an htaccess like: -# for /vichan/* base +``` RewriteEngine On RewriteRule ^[^/]+/$ %{REQUEST_URI}/../../404.php [NC,L] RewriteRule ^[^/]+/[^/]+$ %{REQUEST_URI}/../../404.php [NC,L] RewriteRule ^[^/]+/res/[^/]+$ %{REQUEST_URI}/../../404.php [NC,L] +``` +This example assumes your URL includes one directory level, i.e. http://localhost/vichan/ About vichan ------------