forked from GithubBackups/vichan
Revert "fix formatting"
This reverts commit 6456924537503f5bcf7b60037ba4ce1902e1f518.
This commit is contained in:
parent
ac4c2e0370
commit
c0b7d97ec1
@ -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:
|
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
|
RewriteEngine On
|
||||||
RewriteRule ^[^/]+/$ %{REQUEST_URI}/../../404.php [NC,L]
|
RewriteRule ^[^/]+/$ %{REQUEST_URI}/../../404.php [NC,L]
|
||||||
RewriteRule ^[^/]+/[^/]+$ %{REQUEST_URI}/../../404.php [NC,L]
|
RewriteRule ^[^/]+/[^/]+$ %{REQUEST_URI}/../../404.php [NC,L]
|
||||||
RewriteRule ^[^/]+/res/[^/]+$ %{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
|
About vichan
|
||||||
------------
|
------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user