From 4312fb96534dfa12e4f8d7ac5dd7d5a4054e03d1 Mon Sep 17 00:00:00 2001 From: fanningert Date: Sat, 15 Mar 2014 23:07:36 +0100 Subject: [PATCH] Update README.md Add lighttpd configuration --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e6539c..49dd609 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,29 @@ Admin role can edit/delete all users posts. You can login to admin panel at `www.example.com/login`. +### Lighttpd +Here a example configuration + +```` +$HTTP["url"] =~ "^/config" { + url.access-deny = ( "" ) +} +$HTTP["url"] =~ "^/system/includes" { + url.access-deny = ( "" ) +} +$HTTP["url"] =~ "^/system/admin/views" { + url.access-deny = ( "" ) +} + +url.rewrite-once = ( + "^/(themes|system|vendor)/(.*)" => "$0", + "^/(.*\.php)" => "$0", + + # Everything else is handles by Wordpress + "^/(.*)$" => "/index.php/$1" +) +```` + Both Online or Offline ---------------------- In addition by using the built-in editor in the admin panel, you can also write it offline and then upload them into `content/username/blog` folder (the username must match with `YourUsername.ini` above). @@ -122,4 +145,4 @@ Contribute Copyright / License ------------------- -For copyright notice please read [COPYRIGHT.txt](https://github.com/danpros/htmly/blob/master/COPYRIGHT.txt). HTMLy licensed under the GNU General Public License Version 2.0 (or later). \ No newline at end of file +For copyright notice please read [COPYRIGHT.txt](https://github.com/danpros/htmly/blob/master/COPYRIGHT.txt). HTMLy licensed under the GNU General Public License Version 2.0 (or later).