]> git.pld-linux.org Git - packages/lighttpd.git/blob - lighttpd-mod_setenv.conf
up to 1.4.38
[packages/lighttpd.git] / lighttpd-mod_setenv.conf
1 # setenv module.
2 #
3 # Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSetEnv
4
5 server.modules += (
6         "mod_setenv"
7 )
8
9 #### setenv
10 #setenv.add-request-header = ( "TRAV_ENV" => "mysql://user@host/db" )
11 #setenv.add-response-header = ( "X-Secret-Message" => "42" )
12
13 # Add CORS header for font requests
14 # http://davidwalsh.name/cdn-fonts
15 #$HTTP["url"] =~ "\.(?:eot|ttf|otf|woff)$" {
16 #       setenv.add-response-header += (
17 #               "Access-Control-Allow-Origin" => "*",
18 #       )
19 #}
This page took 0.045997 seconds and 3 git commands to generate.