comparison 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
comparison
equal deleted inserted replaced
35:6592cdd1fceb 36:09ef92dc4439
331 ## both rewrite/redirect support back reference to regex conditional using %n 331 ## both rewrite/redirect support back reference to regex conditional using %n
332 ## 332 ##
333 #$HTTP["host"] =~ "^www\.(.*)" { 333 #$HTTP["host"] =~ "^www\.(.*)" {
334 # url.redirect = ( "^/(.*)" => "http://%1/$1" ) 334 # url.redirect = ( "^/(.*)" => "http://%1/$1" )
335 #} 335 #}
336 $HTTP["host"] =~ "^(.*)$" {
337 url.redirect = (
338 "^/scoring/highscores.html" => "http://%1/scoring/high.cgi?l=40"
339 )
340 }
336 341
337 ## 342 ##
338 ## which extensions should not be handle via static-file transfer 343 ## which extensions should not be handle via static-file transfer
339 ## 344 ##
340 ## .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi 345 ## .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi