Преглед изворни кода

lighttpd conf; thanks to @cochrandv

Roman Shvets пре 12 година
родитељ
комит
027477bd71
1 измењених фајлова са 18 додато и 1 уклоњено
  1. 18 1
      README.md

+ 18 - 1
README.md

@@ -1,4 +1,21 @@
 Pico
 ====
 
-Pico is a stupidly simple, blazing fast, flat file CMS. See http://pico.dev7studios.com for more info.
+Pico is a stupidly simple, blazing fast, flat file CMS. See http://pico.dev7studios.com for more info.
+
+
+
+
+###Running Pico on lighttpd
+
+```
+$HTTP["host"] == "mysite.com" {
+    url.rewrite-once = (
+        "^/pico/content/(.*)\.md" => "/pico/index.php"
+    )
+
+    url.rewrite-if-not-file = (
+        "^/pico/(.*)$" => "/pico/index.php"
+    )
+}
+```