Mercurial > hg > rlgallery-misc
changeset 26:b003235abe75
Add lighttpd configuration files.
| author | John "Elwin" Edwards | 
|---|---|
| date | Mon, 28 Oct 2013 20:33:23 -0700 | 
| parents | dd72d2dd923f | 
| children | d7e92cd9df0f | 
| files | README.txt lighttpd/conf.d/cgi.conf lighttpd/conf.d/dirlisting.conf lighttpd/lighttpd.conf lighttpd/modules.conf | 
| diffstat | 5 files changed, 718 insertions(+), 0 deletions(-) [+] | 
line wrap: on
 line diff
--- a/README.txt Sun Oct 20 19:05:58 2013 -0700 +++ b/README.txt Mon Oct 28 20:33:23 2013 -0700 @@ -4,6 +4,9 @@ a patch to the Git version of dgamelaunch. The patch makes it compatible with the RLGWebD player and adds properly salted passwords. +lighttpd/ contains the configuration files for lighttpd which have been +modified from the distribution versions. + py/ contains various Python scripts. py/recorder.py processes the log files and stores the data in a PostgreSQL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lighttpd/conf.d/cgi.conf Mon Oct 28 20:33:23 2013 -0700 @@ -0,0 +1,33 @@ +####################################################################### +## +## CGI modules +## --------------- +## +## http://www.lighttpd.net/documentation/cgi.html +## +server.modules += ( "mod_cgi" ) + +## +## Plain old CGI handling +## +## For PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini. +## +cgi.assign = ( ".pl" => "/usr/bin/perl", + ".cgi" => "/usr/bin/python", + ".rb" => "/usr/bin/ruby", + ".erb" => "/usr/bin/eruby", + ".py" => "/usr/bin/python" ) + +## +## to get the old cgi-bin behavior of apache +## +## Note: make sure that mod_alias is loaded if you uncomment the +## next line. (see modules.conf) +## +#alias.url += ( "/cgi-bin" => server_root + "/cgi-bin" ) +#$HTTP["url"] =~ "^/cgi-bin" { +# cgi.assign = ( "" => "" ) +#} + +## +#######################################################################
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lighttpd/conf.d/dirlisting.conf Mon Oct 28 20:33:23 2013 -0700 @@ -0,0 +1,55 @@ +####################################################################### +## +## Dirlisting Module +## ------------------- +## +## See http://www.lighttpd.net/documentation/dirlisting.html +## + +## +## Enabled Directory listing +## +dir-listing.activate = "enable" + +## +## Hide dot files from the listing? +## By default they are listed. +## +dir-listing.hide-dotfiles = "disable" + +## +## list of regular expressions. Files that match any of the specified +## regular expressions will be excluded from directory listings. +## +dir-listing.exclude = ( "~$" ) + +## +## set a encoding for the generated directory listing +## +## If you file-system is not using ASCII you have to set the encoding of +## the filenames as they are put into the HTML listing AS IS (with XML +## encoding) +## +dir-listing.encoding = "UTF-8" + +## +## Specify the url to an optional CSS file. +## +#dir-listing.external-css = "/dirindex.css" + +## +## Include HEADER.txt files above the directory listing. +## You can disable showing the HEADER.txt in the listing. +## +dir-listing.hide-header-file = "disable" +dir-listing.show-header = "disable" + +## +## Include README.txt files above the directory listing. +## You can disable showing the README.txt in the listing. +## +dir-listing.hide-readme-file = "disable" +dir-listing.show-readme = "disable" + +## +#######################################################################
