Skip to content

Commit 63d2967

Browse files
committed
Fixed header links to About and Download
Now includes a redirect to /xxx/ and /xxx will always work the same. Fixes #45
1 parent 240891a commit 63d2967

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Fixed
1111

12+
- Header links to About and Download
1213
- Footer links referred to `name` instead of `label`.
1314

1415
## [1.6.3] - 2025-11-29

lighttpd.conf

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@ server.document-root = "/var/www/"
22
index-file.names = ( "index.html", "fallback.html" )
33

44
server.modules += ("mod_alias")
5-
alias.url += ( "/download" => "/var/www/download.html" )
6-
alias.url += ( "/about" => "/var/www/about.html" )
5+
alias.url += ( "/download/" => "/var/www/download.html" )
6+
alias.url += ( "/about/" => "/var/www/about.html" )
7+
8+
server.modules += ("mod_redirect")
9+
10+
url.redirect = (
11+
"^/about$" => "/about/",
12+
"^/download$" => "/download/",
13+
)
714

815
server.modules += ("mod_setenv")
916
setenv.add-response-header = ("Access-Control-Allow-Origin" => "*")

0 commit comments

Comments
 (0)