Mercurial > hg > rlgallery-misc
diff lighttpd/lighttpd.conf @ 36:09ef92dc4439
Remove the static high score page.
Don't create it, change all links, and redirect any requests.
author | John "Elwin" Edwards |
---|---|
date | Fri, 03 Jan 2014 13:02:29 -0500 |
parents | e8f3b7994d88 |
children | b1d3a618c254 |
line wrap: on
line diff
--- a/lighttpd/lighttpd.conf Fri Jan 03 11:11:07 2014 -0500 +++ b/lighttpd/lighttpd.conf Fri Jan 03 13:02:29 2014 -0500 @@ -333,6 +333,11 @@ #$HTTP["host"] =~ "^www\.(.*)" { # url.redirect = ( "^/(.*)" => "http://%1/$1" ) #} +$HTTP["host"] =~ "^(.*)$" { + url.redirect = ( + "^/scoring/highscores.html" => "http://%1/scoring/high.cgi?l=40" + ) +} ## ## which extensions should not be handle via static-file transfer