comparison lighttpd/rlgallery.conf @ 98:36d6787f7aed

Small website updates.
author John "Elwin" Edwards
date Tue, 02 Nov 2021 21:10:10 -0400
parents 716f8305d412
children 801ec25cc0af
comparison
equal deleted inserted replaced
97:fb292a0184d9 98:36d6787f7aed
8 # Ensure index.cgi is in the list 8 # Ensure index.cgi is in the list
9 index-file.names += ( 9 index-file.names += (
10 "index.xhtml", "index.html", "index.htm", "index.cgi" 10 "index.xhtml", "index.html", "index.htm", "index.cgi"
11 ) 11 )
12 12
13 server.modules += ( "mod_cgi", "mod_redirect", "mod_setenv" ) 13 server.modules += ( "mod_cgi", "mod_setenv", "mod_redirect" )
14 14
15 cgi.assign = ( ".cgi" => "" ) 15 cgi.assign = ( ".cgi" => "" )
16 16
17 # The old static high score page now redirects to the CGI script 17 # The old static high score page now redirects to the CGI script
18 $HTTP["host"] =~ "^(.*)$" { 18 $HTTP["host"] =~ "^(.*)$" {
30 # Set a UTF-8 environment, or Python 3 won't work 30 # Set a UTF-8 environment, or Python 3 won't work
31 setenv.add-environment = ( 31 setenv.add-environment = (
32 "LC_CTYPE" => "en_US.utf8" 32 "LC_CTYPE" => "en_US.utf8"
33 ) 33 )
34 34
35 setenv.add-response-header = (
36 "Permissions-Policy" => "interest-cohort=()"
37 )
38
35 # Turn on directory listing where it is needed 39 # Turn on directory listing where it is needed
36 $HTTP["url"] =~ "^/files/" { 40 $HTTP["url"] =~ "^/files/" {
37 dir-listing.activate = "enable" 41 dir-listing.activate = "enable"
38 } 42 }
39 $HTTP["url"] =~ "^/ttyrecs/" { 43 $HTTP["url"] =~ "^/ttyrecs/" {