diff --git a/README.md b/README.md index c3b18170..1ac3bfe5 100755 --- a/README.md +++ b/README.md @@ -9,13 +9,11 @@ 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 ------------