mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 03:26:20 +05:30
Update README.md
Add lighttpd configuration
This commit is contained in:
parent
f23644dce7
commit
4312fb9653
1 changed files with 24 additions and 1 deletions
25
README.md
25
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).
|
||||
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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue