# HG changeset patch # User edogawaconan # Date 1414639779 -32400 # Node ID e4f534198385165ce3727d6ffed8cc71f7d2729e # Parent ce92f4d4171457134e246475ff4d000b162ab601 Add note for apache. diff -r ce92f4d41714 -r e4f534198385 README.md --- a/README.md Thu Oct 30 12:14:32 2014 +0900 +++ b/README.md Thu Oct 30 12:29:39 2014 +0900 @@ -3,7 +3,10 @@ Using capability of nginx. -Basically, add this block +Usage +----- + +### nginx location @lister { include fastcgi_params; @@ -35,7 +38,17 @@ try_files $uri @lister; // try_files "" @lister if the alias is } -And done. Probably also works with apache but I have no idea how to set it up. +### apache + +Assuming `mod_rewrite` is enabled, add this `.htaccess`: + + RewriteEngine On + RewriteCond %{REQUEST_FILENAME} -d + RewriteRule ^ /path/to/index.php [L] + +Note that `/path/to/index.php` should be visible from your location. Or something. I don't really know Apache. + +Also note that this `.htaccess` does not disable server processing of `php` or any other non-static files. Configurations --------------