[packages/stikked] simplify

glen glen at pld-linux.org
Sat Mar 15 19:50:52 CET 2014


commit 11f1ba65641aa356a82800e00ae94aa0b11fa7db
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Mar 15 20:39:25 2014 +0200

    simplify

 lighttpd.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lighttpd.conf b/lighttpd.conf
index 00a7274..2e9e922 100644
--- a/lighttpd.conf
+++ b/lighttpd.conf
@@ -5,8 +5,8 @@ alias.url += (
 )
 
 url.rewrite-once += (
-	"^" + var.stikked_url + "/static/(.*)$" => "/static/$1",
-	"^" + var.stikked_url + "/favicon\.ico$" => "/favicon.ico",
-	"^" + var.stikked_url + "/robots\.txt$" => "/robots.txt",
+	"^" + var.stikked_url + "/static/(.*)$" => "$0",
+	"^" + var.stikked_url + "/favicon\.ico$" => "$0",
+	"^" + var.stikked_url + "/robots\.txt$" => "$0",
 	"^" + var.stikked_url + "/(.*)$" => "/index.php$2",
 )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/stikked.git/commitdiff/26bb12f2fa838c9074b9262a9c2fa52699764afc



More information about the pld-cvs-commit mailing list