SHOW:
|
|
- or go back to the newest paste.
| 1 | $HTTP["host"] =~ "(autodor|autodor.ru|sub.autodor.ru|test.autodor.ru)$" {
| |
| 2 | $HTTP["url"] =~ "^/db/" {url.access-deny = (""),}
| |
| 3 | $HTTP["url"] =~ "^/keys/" {url.access-deny = (""),}
| |
| 4 | $HTTP["url"] =~ "^/cookie/" {url.access-deny = (""),}
| |
| 5 | $HTTP["url"] =~ "^/log/" {url.access-deny = (""),}
| |
| 6 | $HTTP["url"] =~ "^/ping/" {url.access-deny = (""),}
| |
| 7 | server.document-root = "/home/foxi/autodor" | |
| 8 | server.error-handler-404 = "/404.php" | |
| 9 | url.rewrite-once = ( | |
| 10 | "^/robots\.txt$" => "/index.php?feed=robots", | |
| 11 | "^/rss/$" => "/index.php?feed=rss", | |
| 12 | "^/rss\.xml$" => "/rss.php", | |
| 13 | "^/sitemap/$" => "/index.php?feed=sitemap", | |
| 14 | "^/sitemap\/([0-9]+)/$" => "index.php?feed=sitemap&p=$1", | |
| 15 | "^/category/([0-9]+)/$" => "/index.php?category=$1", | |
| 16 | "^/tag/([^\.]+)/$" => "/index.php?search=$1", | |
| 17 | "^/page/([^\.]+)/$" => "/index.php?page=$1", | |
| 18 | ) | |
| 19 | } |