]> git.pld-linux.org Git - packages/wordpress.git/blob - lighttpd.conf
- drop obsolete and outdated manual inclusion of rpm macros
[packages/wordpress.git] / lighttpd.conf
1
2 alias.url += (
3         "/wordpress" => "/usr/share/wordpress",
4 )
5
6 # http://codex.wordpress.org/Installing_WPMU#Rewriting_Rules_for_others_HTTP_Server
7 $HTTP["host"] == "blogs.example.org" {
8         server.name = "blogs.example.org"
9         server.document-root = "/usr/share/wordpress"
10         url.rewrite-once = (
11                 "^/([_.0-9a-zA-Z-]+/)?/?files/(.+)" => "wp-includes/ms-files.php?file=$2",
12                 "^/wp-.*$" => "$0",
13                 "^/([_.0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" => "$2",
14                 "^/([_.0-9a-zA-Z-]+/)?(.*\.php(\?.+)?)$" => "$2",
15                 "(\?.*)$" => "index.php$1",
16                 ".+" => "index.php",
17         )
18 }
19
20 # vim:ts=4
This page took 0.058607 seconds and 3 git commands to generate.