mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-25 04:21:17 -05:00
added rewrite-rules in doc for shorter urls. fixes #451
This commit is contained in:
parent
5e433758d5
commit
aadb48832f
@ -17,6 +17,15 @@ $HTTP["host"] == "stikked" {
|
||||
"^/(.*)$" => "/index.php$2",
|
||||
)
|
||||
|
||||
## you can use the following rewrite rules for shorter URLs,
|
||||
## like https://example.com/abc123de,
|
||||
## and for short raw form like https://example.com/abc123de/r or https://example.com/abc123de/raw
|
||||
#url.rewrite-once = (
|
||||
# "^/([0-9a-f]{8,})$" => "/index.php?/view/$1",
|
||||
# "^/([0-9a-f]{8,})/(?:r|raw)$" => "/index.php?/view/raw/$1",
|
||||
# "^/((?!index\.php|static|favicon\.ico|robots\.txt|sitemap\.xml|google(.+)\.html).+)$" => "/index.php?/$1"
|
||||
#)
|
||||
|
||||
server.document-root = "/var/www/stikked/htdocs"
|
||||
|
||||
#accesslog.filename = "/var/log/lighttpd/stikked.access.log"
|
||||
|
Loading…
x
Reference in New Issue
Block a user