packages: wordpress/lighttpd.conf - update for wp3, tested

glen glen at pld-linux.org
Thu Sep 23 22:11:36 CEST 2010


Author: glen                         Date: Thu Sep 23 20:11:36 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- update for wp3, tested

---- Files affected:
packages/wordpress:
   lighttpd.conf (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/wordpress/lighttpd.conf
diff -u packages/wordpress/lighttpd.conf:1.3 packages/wordpress/lighttpd.conf:1.4
--- packages/wordpress/lighttpd.conf:1.3	Thu Sep 23 22:10:17 2010
+++ packages/wordpress/lighttpd.conf	Thu Sep 23 22:11:31 2010
@@ -7,17 +7,14 @@
 $HTTP["host"] == "blogs.example.org" {
 	server.name = "blogs.example.org"
 	server.document-root = "/usr/share/wordpress"
-
 	url.rewrite-once = (
-		# wpmu rewrite rules
-		"^/(.*)?/?files/$" => "index.php",
-		"^/(.*)?/?files/(.*)" => "wp-content/blogs.php?file=$2",
+		"^/([_.0-9a-zA-Z-]+/)?/?files/(.+)" => "wp-includes/ms-files.php?file=$2",
 		"^/wp-.*$" => "$0",
-		"^/([_.0-9a-zA-Z-]+/)?(wp-.*)" => "$2",
-		"^/([_.0-9a-zA-Z-]+/)?(.*\.php)$" => "$2",
+		"^/([_.0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" => "$2",
+		"^/([_.0-9a-zA-Z-]+/)?(.*\.php(\?.+)?)$" => "$2",
 		"(\?.*)$" => "index.php$1",
 		".+" => "index.php",
 	)
 }
-	
+
 # vim:ts=4
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/wordpress/lighttpd.conf?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list