############################################################################### # Default lighttpd.conf for Gentoo. # $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/conf/lighttpd.conf,v 1.3 2005/09/01 14:22:35 ka0ttic Exp $ ############################################################################### # {{{ variables var.basedir = "/var/www/lighttpd" var.logdir = "/var/log/lighttpd" var.statedir = "/var/lib/lighttpd" # }}} # {{{ modules # At the very least, mod_access and mod_accesslog should be enabled. # All other modules should only be loaded if necessary. # NOTE: the order of modules is important. server.modules = ( # "mod_rewrite", # "mod_redirect", # "mod_alias", "mod_access", # "mod_cml", # "mod_trigger_b4_dl", # "mod_auth", # "mod_status", # "mod_setenv", # "mod_proxy", # "mod_simple_vhost", # "mod_evhost", # "mod_userdir", # "mod_compress", # "mod_ssi", # "mod_usertrack", # "mod_expire", # "mod_secdownload", # "mod_rrdtool", # "mod_webdav", "mod_accesslog" ) # }}} # {{{ includes # uncomment for cgi support # include "mod_cgi.conf" # uncomment for php/fastcgi support # include "mod_fastcgi.conf" # uncomment for php/fastcgi fpm support # include "mod_fastcgi_fpm.conf" # }}} mimetype.assign = ( # {{{ ".tar.bz2" => "application/x-gtar-compressed", ".tar.gz" => "application/x-gtar-compressed", ".cbor" => "application/cbor", ".efi" => "application/efi", ".epub" => "application/epub+zip", ".gz" => "application/gzip", ".tgz" => "application/gzip", ".js" => "application/javascript", ".json" => "application/json", ".json-patch" => "application/json-patch+json", ".mbox" => "application/mbox", ".doc" => "application/msword", ".mxf" => "application/mxf", ".bin" => "application/octet-stream", ".class" => "application/octet-stream", ".dll" => "application/octet-stream", ".exe" => "application/octet-stream", ".img" => "application/octet-stream", ".iso" => "application/octet-stream", ".lha" => "application/octet-stream", ".lzh" => "application/octet-stream", ".so" => "application/octet-stream", ".ogx" => "application/ogg", ".pdf" => "application/pdf", ".pem" => "application/pem-certificate-chain", ".pgp" => "application/pgp-encrypted", ".sig" => "application/pgp-signature", ".p10" => "application/pkcs10", ".p12" => "application/pkcs12", ".pfx" => "application/pkcs12", ".p7c" => "application/pkcs7-mime", ".p7m" => "application/pkcs7-mime", ".p7s" => "application/pkcs7-signature", ".p8" => "application/pkcs8", ".p8e" => "application/pkcs8-encrypted", ".cer" => "application/pkix-cert", ".crl" => "application/pkix-crl", ".pkipath" => "application/pkix-pkipath", ".pki" => "application/pkixcmp", ".pls" => "application/pls+xml", ".ai" => "application/postscript", ".eps" => "application/postscript", ".ps" => "application/postscript", ".rfcxml" => "application/rfc+xml", ".rtf" => "application/rtf", ".sieve" => "application/sieve", ".siv" => "application/sieve", ".sql" => "application/sql", ".xht" => "application/xhtml+xml", ".xhtm" => "application/xhtml+xml", ".xhtml" => "application/xhtml+xml", ".xlf" => "application/xliff+xml", ".dtd" => "application/xml-dtd", ".xop" => "application/xop+xml", ".xsl" => "application/xslt+xml", ".xslt" => "application/xslt+xml", ".yang" => "application/yang", ".yin" => "application/yin+xml", ".zip" => "application/zip", ".zst" => "application/zstd", ".qwd" => "application/vnd.Quark.QuarkXPress", ".qwt" => "application/vnd.Quark.QuarkXPress", ".qxb" => "application/vnd.Quark.QuarkXPress", ".qxd" => "application/vnd.Quark.QuarkXPress", ".qxl" => "application/vnd.Quark.QuarkXPress", ".qxt" => "application/vnd.Quark.QuarkXPress", ".swf" => "application/vnd.adobe.flash.movie", ".fcdt" => "application/vnd.adobe.formscentral.fcdt", ".fxp" => "application/vnd.adobe.fxp", ".fxpl" => "application/vnd.adobe.fxp", ".xdp" => "application/vnd.adobe.xdp+xml", ".xfdf" => "application/vnd.adobe.xfdf", ".afp" => "application/vnd.afpc.modca", ".dist" => "application/vnd.apple.installer+xml", ".distz" => "application/vnd.apple.installer+xml", ".mpkg" => "application/vnd.apple.installer+xml", ".pkg" => "application/vnd.apple.installer+xml", ".keynote" => "application/vnd.apple.keynote", ".m3u8" => "application/vnd.apple.mpegurl", ".numbers" => "application/vnd.apple.numbers", ".pages" => "application/vnd.apple.pages", ".deb" => "application/vnd.debian.binary-package", ".udeb" => "application/vnd.debian.binary-package", ".karbon" => "application/vnd.kde.karbon", ".chrt" => "application/vnd.kde.kchart", ".kfo" => "application/vnd.kde.kformula", ".flw" => "application/vnd.kde.kivio", ".kon" => "application/vnd.kde.kontour", ".kpr" => "application/vnd.kde.kpresenter", ".kpt" => "application/vnd.kde.kpresenter", ".ksp" => "application/vnd.kde.kspread", ".kwd" => "application/vnd.kde.kword", ".kwt" => "application/vnd.kde.kword", ".xul" => "application/vnd.mozilla.xul+xml", ".3mf" => "application/vnd.ms-3mfdocument", ".cil" => "application/vnd.ms-artgalry", ".asf" => "application/vnd.ms-asf", ".cab" => "application/vnd.ms-cab-compressed", ".xla" => "application/vnd.ms-excel", ".xlc" => "application/vnd.ms-excel", ".xlm" => "application/vnd.ms-excel", ".xls" => "application/vnd.ms-excel", ".xlt" => "application/vnd.ms-excel", ".xlw" => "application/vnd.ms-excel", ".xlam" => "application/vnd.ms-excel.addin.macroEnabled.12", ".xlsb" => "application/vnd.ms-excel.sheet.binary.macroEnabled.12", ".xlsm" => "application/vnd.ms-excel.sheet.macroEnabled.12", ".xltm" => "application/vnd.ms-excel.template.macroEnabled.12", ".eot" => "application/vnd.ms-fontobject", ".chm" => "application/vnd.ms-htmlhelp", ".ims" => "application/vnd.ms-ims", ".lrm" => "application/vnd.ms-lrm", ".thmx" => "application/vnd.ms-officetheme", ".pot" => "application/vnd.ms-powerpoint", ".pps" => "application/vnd.ms-powerpoint", ".ppt" => "application/vnd.ms-powerpoint", ".ppam" => "application/vnd.ms-powerpoint.addin.macroEnabled.12", ".pptm" => "application/vnd.ms-powerpoint.presentation.macroEnabled.12", ".sldm" => "application/vnd.ms-powerpoint.slide.macroEnabled.12", ".ppsm" => "application/vnd.ms-powerpoint.slideshow.macroEnabled.12", ".potm" => "application/vnd.ms-powerpoint.template.macroEnabled.12", ".mpp" => "application/vnd.ms-project", ".mpt" => "application/vnd.ms-project", ".tnef" => "application/vnd.ms-tnef", ".tnf" => "application/vnd.ms-tnef", ".docm" => "application/vnd.ms-word.document.macroEnabled.12", ".dotm" => "application/vnd.ms-word.template.macroEnabled.12", ".wcm" => "application/vnd.ms-works", ".wdb" => "application/vnd.ms-works", ".wks" => "application/vnd.ms-works", ".wps" => "application/vnd.ms-works", ".wpl" => "application/vnd.ms-wpl", ".oxt" => "application/vnd.openofficeorg.extension", ".osm" => "application/vnd.openstreetmap.data+xml", ".pptx" => "application/vnd.openxmlformats-officedocument.presentationml.presentation", ".sldx" => "application/vnd.openxmlformats-officedocument.presentationml.slide", ".ppsx" => "application/vnd.openxmlformats-officedocument.presentationml.slideshow", ".potx" => "application/vnd.openxmlformats-officedocument.presentationml.template", ".xlsx" => "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", ".xltx" => "application/vnd.openxmlformats-officedocument.spreadsheetml.template", ".docx" => "application/vnd.openxmlformats-officedocument.wordprocessingml.document", ".dotx" => "application/vnd.openxmlformats-officedocument.wordprocessingml.template", ".wpd" => "application/vnd.wordperfect", ".tbz" => "application/x-gtar-compressed", ".hdf" => "application/x-hdf", ".jar" => "application/x-java-archive", ".kil" => "application/x-killustrator", ".latex" => "application/x-latex", ".cdf" => "application/x-netcdf", ".nc" => "application/x-netcdf", ".pl" => "application/x-perl", ".rpm" => "application/x-rpm", ".sh" => "application/x-sh", ".shar" => "application/x-shar", ".sit" => "application/x-stuffit", ".tar" => "application/x-tar", ".tcl" => "application/x-tcl", ".tex" => "application/x-tex", ".texi" => "application/x-texinfo", ".texinfo" => "application/x-texinfo", ".1" => "application/x-troff-man", ".2" => "application/x-troff-man", ".3" => "application/x-troff-man", ".4" => "application/x-troff-man", ".5" => "application/x-troff-man", ".6" => "application/x-troff-man", ".7" => "application/x-troff-man", ".8" => "application/x-troff-man", ".man" => "application/x-troff-man", ".me" => "application/x-troff-me", ".ms" => "application/x-troff-ms", ".ustar" => "application/x-ustar", ".xz" => "application/x-xz", ".aac" => "audio/aac", ".ass" => "audio/aac", ".acn" => "audio/asc", ".au" => "audio/basic", ".snd" => "audio/basic", ".mid" => "audio/midi", ".midi" => "audio/midi", ".m4a" => "audio/mp4", ".mp1" => "audio/mpeg", ".mp2" => "audio/mpeg", ".mp3" => "audio/mpeg", ".mpga" => "audio/mpeg", ".oga" => "audio/ogg", ".ogg" => "audio/ogg", ".opus" => "audio/ogg", ".spx" => "audio/ogg", ".aif" => "audio/x-aiff", ".aifc" => "audio/x-aiff", ".aiff" => "audio/x-aiff", ".flac" => "audio/x-flac", ".mka" => "audio/x-matroska", ".otf" => "font/otf", ".ttf" => "font/ttf", ".bmp" => "image/bmp", ".dib" => "image/bmp", ".cgm" => "image/cgm", ".drle" => "image/dicom-rle", ".emf" => "image/emf", ".fit" => "image/fits", ".fits" => "image/fits", ".fts" => "image/fits", ".gif" => "image/gif", ".heic" => "image/heic", ".heics" => "image/heic-sequence", ".heif" => "image/heif", ".heifs" => "image/heif-sequence", ".hej2" => "image/hej2k", ".hsj2" => "image/hsj2", ".ief" => "image/ief", ".jls" => "image/jls", ".jp2" => "image/jp2", ".jpg2" => "image/jp2", ".jfif" => "image/jpeg", ".jpe" => "image/jpeg", ".jpeg" => "image/jpeg", ".jpg" => "image/jpeg", ".jph" => "image/jph", ".jhc" => "image/jphc", ".jpgm" => "image/jpm", ".jpm" => "image/jpm", ".jpf" => "image/jpx", ".jpx" => "image/jpx", ".jxr" => "image/jxr", ".jxra" => "image/jxrA", ".jxrs" => "image/jxrS", ".jxs" => "image/jxs", ".jxsc" => "image/jxsc", ".jxsi" => "image/jxsi", ".jxss" => "image/jxss", ".ktx" => "image/ktx", ".png" => "image/png", ".btf" => "image/prs.btif", ".btif" => "image/prs.btif", ".pti" => "image/prs.pti", ".svg" => "image/svg+xml", ".svgz" => "image/svg+xml", ".t38" => "image/t38", ".tif" => "image/tiff", ".tiff" => "image/tiff", ".tfx" => "image/tiff-fx", ".webp" => "image/webp", ".wmf" => "image/wmf", ".psd" => "image/vnd.adobe.photoshop", ".azv" => "image/vnd.airzip.accelerator.azv", ".uvg" => "image/vnd.dece.graphic", ".uvi" => "image/vnd.dece.graphic", ".uvvg" => "image/vnd.dece.graphic", ".uvvi" => "image/vnd.dece.graphic", ".djv" => "image/vnd.djvu", ".djvu" => "image/vnd.djvu", ".dwg" => "image/vnd.dwg", ".dxf" => "image/vnd.dxf", ".fbs" => "image/vnd.fastbidsheet", ".fpx" => "image/vnd.fpx", ".fst" => "image/vnd.fst", ".mmr" => "image/vnd.fujixerox.edmics-mmr", ".rlc" => "image/vnd.fujixerox.edmics-rlc", ".pgb" => "image/vnd.globalgraphics.pgb", ".ico" => "image/vnd.microsoft.icon", ".apng" => "image/vnd.mozilla.apng", ".mdi" => "image/vnd.ms-modi", ".hdr" => "image/vnd.radiance", ".rgbe" => "image/vnd.radiance", ".xyze" => "image/vnd.radiance", ".s1n" => "image/vnd.sealed.png", ".spn" => "image/vnd.sealed.png", ".spng" => "image/vnd.sealed.png", ".s1g" => "image/vnd.sealedmedia.softseal.gif", ".sgi" => "image/vnd.sealedmedia.softseal.gif", ".sgif" => "image/vnd.sealedmedia.softseal.gif", ".s1j" => "image/vnd.sealedmedia.softseal.jpg", ".sjp" => "image/vnd.sealedmedia.softseal.jpg", ".sjpg" => "image/vnd.sealedmedia.softseal.jpg", ".tap" => "image/vnd.tencent.tap", ".vtf" => "image/vnd.valve.source.texture", ".wbmp" => "image/vnd.wap.wbmp", ".xif" => "image/vnd.xiff", ".pcx" => "image/vnd.zbrush.pcx", ".pnm" => "image/x-portable-anymap", ".pbm" => "image/x-portable-bitmap", ".pgm" => "image/x-portable-graymap", ".ppm" => "image/x-portable-pixmap", ".rgb" => "image/x-rgb", ".tga" => "image/x-targa", ".xbm" => "image/x-xbitmap", ".xpm" => "image/x-xpixmap", ".xwd" => "image/x-xwindowdump", ".art" => "message/rfc822", ".eml" => "message/rfc822", ".mail" => "message/rfc822", ".vrml" => "model/vrml", ".wrl" => "model/vrml", ".x3db" => "model/x3d+xml", ".x3dv" => "model/x3d-vrml", ".x3dvz" => "model/x3d-vrml", ".ics" => "text/calendar", ".ifb" => "text/calendar", ".css" => "text/css; charset=utf-8", ".csv" => "text/csv; charset=utf-8", ".csvs" => "text/csv-schema", ".soa" => "text/dns", ".zone" => "text/dns", ".htm" => "text/html", ".html" => "text/html", ".sandboxed" => "text/html-sandboxed", ".cnd" => "text/jcr-cnd", ".markdown" => "text/markdown; charset=utf-8", ".md" => "text/markdown; charset=utf-8", ".miz" => "text/mizar", ".n3" => "text/n3", ".asc" => "text/plain; charset=utf-8", ".c" => "text/plain; charset=utf-8", ".cc" => "text/plain; charset=utf-8", ".conf" => "text/plain; charset=utf-8", ".cxx" => "text/plain; charset=utf-8", ".el" => "text/plain; charset=utf-8", ".f90" => "text/plain; charset=utf-8", ".h" => "text/plain; charset=utf-8", ".hh" => "text/plain; charset=utf-8", ".hxx" => "text/plain; charset=utf-8", ".log" => "text/plain; charset=utf-8", ".pm" => "text/plain; charset=utf-8", ".spec" => "text/plain; charset=utf-8", ".text" => "text/plain; charset=utf-8", ".txt" => "text/plain; charset=utf-8", ".provn" => "text/provenance-notation", ".rst" => "text/prs.fallenstein.rst", ".dsc" => "text/prs.lines.tag", ".tag" => "text/prs.lines.tag", ".rtx" => "text/richtext", ".sgm" => "text/sgml", ".sgml" => "text/sgml", ".tsv" => "text/tab-separated-values", ".roff" => "text/troff", ".t" => "text/troff", ".tr" => "text/troff", ".ttl" => "text/turtle", ".uri" => "text/uri-list", ".uris" => "text/uri-list", ".vcard" => "text/vcard", ".vcf" => "text/vcard", ".vtt" => "text/vtt", ".rng" => "text/xml", ".xml" => "text/xml", ".xsd" => "text/xml", ".ent" => "text/xml-external-parsed-entity", ".dms" => "text/vnd.DMClientScript", ".a" => "text/vnd.a", ".abc" => "text/vnd.abc", ".ascii" => "text/vnd.ascii-art", ".copyright" => "text/vnd.debian.copyright", ".pod" => "text/x-pod", ".etx" => "text/x-setext", ".3gp" => "video/3gpp", ".3gpp" => "video/3gpp", ".3g2" => "video/3gpp2", ".3gpp2" => "video/3gpp2", ".m4s" => "video/iso.segment", ".mj2" => "video/mj2", ".mjp2" => "video/mj2", ".m4v" => "video/mp4", ".mp4" => "video/mp4", ".mpg4" => "video/mp4", ".m1v" => "video/mpeg", ".m2v" => "video/mpeg", ".mpe" => "video/mpeg", ".mpeg" => "video/mpeg", ".mpg" => "video/mpeg", ".ogv" => "video/ogg", ".mov" => "video/quicktime", ".qt" => "video/quicktime", ".webm" => "video/webm", ".yt" => "video/vnd.youtube.yt", ".axv" => "video/x-annodex", ".flv" => "video/x-flv", ".fxm" => "video/x-javafx", ".mkv" => "video/x-matroska", ".mk3d" => "video/x-matroska-3d", ".asx" => "video/x-ms-asf", ".wm" => "video/x-ms-wm", ".wmv" => "video/x-ms-wmv", ".wmx" => "video/x-ms-wmx", ".wvx" => "video/x-ms-wvx", ".avi" => "video/x-msvideo", ".movie" => "video/x-sgi-movie", "README" => "text/plain; charset=utf-8", "Makefile" => "text/x-makefile; charset=utf-8" ) # }}} # {{{ server settings server.username = "lighttpd" server.groupname = "lighttpd" server.document-root = var.basedir + "/htdocs" server.pid-file = "/var/run/lighttpd.pid" server.errorlog = var.logdir + "/error.log" # log errors to syslog instead # server.errorlog-use-syslog = "enable" #server.errorlog-use-syslog = "enable" # daemon by default #server.syslog-facility = "ftp" server.indexfiles = ("index.php", "index.html", "index.htm", "default.htm") # server.tag = "lighttpd" server.follow-symlink = "enable" # event handler (defaults to "poll") # see performance.txt # # for >= linux-2.4 # server.event-handler = "linux-rtsig" # for >= linux-2.6 # server.event-handler = "linux-sysepoll" server.event-handler = "linux-sysepoll" # for FreeBSD # server.event-handler = "freebsd-kqueue" # chroot to directory (defaults to no chroot) # server.chroot = "/" # bind to port (defaults to 80) # server.port = 81 # bind to name (defaults to all interfaces) # server.bind = "grisu.home.kneschke.de" # error-handler for status 404 # server.error-handler-404 = "/error-handler.html" # server.error-handler-404 = "/error-handler.php" # Format: .html # -> ..../status-404.html for 'File not found' # server.errorfile-prefix = var.basedir + "/error/status-" # FAM support for caching stat() calls # requires that lighttpd be built with USE=fam # server.stat-cache-engine = "fam" # }}} # {{{ mod_staticfile # which extensions should not be handled via static-file transfer # (extensions that are usually handled by mod_cgi, mod_fastcgi, etc). static-file.exclude-extensions = (".php", ".pl", ".cgi", ".fcgi") # }}} # {{{ mod_accesslog accesslog.filename = var.logdir + "/access.log" #accesslog.use-syslog = "enable" # }}} # {{{ mod_dirlisting # enable directory listings # dir-listing.activate = "enable" # # don't list hidden files/directories # dir-listing.hide-dotfiles = "enable" # # use a different css for directory listings # dir-listing.external-css = "/path/to/dir-listing.css" # # list of regular expressions. files that match any of the # specified regular expressions will be excluded from directory # listings. # dir-listing.exclude = ("^\.", "~$") # }}} # {{{ mod_access # see access.txt url.access-deny = ("~", ".inc") # }}} # {{{ mod_userdir # see userdir.txt # # userdir.path = "public_html" # userdir.exclude-user = ("root") # }}} # {{{ mod_ssi # see ssi.txt # # ssi.extension = (".shtml") # }}} # {{{ mod_ssl # see ssl.txt # # ssl.engine = "enable" # ssl.pemfile = "server.pem" # }}} # {{{ mod_status # see status.txt # # status.status-url = "/server-status" # status.config-url = "/server-config" # }}} # {{{ mod_simple_vhost # see simple-vhost.txt # # If you want name-based virtual hosting add the next three settings and load # mod_simple_vhost # # document-root = # virtual-server-root + virtual-server-default-host + virtual-server-docroot # or # virtual-server-root + http-host + virtual-server-docroot # # simple-vhost.server-root = "/home/weigon/wwwroot/servers/" # simple-vhost.default-host = "grisu.home.kneschke.de" # simple-vhost.document-root = "/pages/" # }}} # {{{ mod_compress # see compress.txt # # compress.cache-dir = var.statedir + "/cache/compress" # compress.filetype = ("text/plain", "text/html") # }}} # {{{ mod_proxy # see proxy.txt # # proxy.server = ( ".php" => # ( "localhost" => # ( # "host" => "192.168.0.101", # "port" => 80 # ) # ) # ) # }}} # {{{ mod_auth # see authentication.txt # # auth.backend = "plain" # auth.backend.plain.userfile = "lighttpd.user" # auth.backend.plain.groupfile = "lighttpd.group" # auth.backend.ldap.hostname = "localhost" # auth.backend.ldap.base-dn = "dc=my-domain,dc=com" # auth.backend.ldap.filter = "(uid=$)" # auth.require = ( "/server-status" => # ( # "method" => "digest", # "realm" => "download archiv", # "require" => "user=jan" # ), # "/server-info" => # ( # "method" => "digest", # "realm" => "download archiv", # "require" => "valid-user" # ) # ) # }}} # {{{ mod_rewrite # see rewrite.txt # # url.rewrite = ( # "^/$" => "/server-status" # ) # }}} # {{{ mod_redirect # see redirect.txt # # url.redirect = ( # "^/wishlist/(.+)" => "http://www.123.org/$1" # ) # }}} # {{{ mod_evhost # define a pattern for the host url finding # %% => % sign # %0 => domain name + tld # %1 => tld # %2 => domain name without tld # %3 => subdomain 1 name # %4 => subdomain 2 name # # evhost.path-pattern = "/home/storage/dev/www/%3/htdocs/" # }}} # {{{ mod_expire # expire.url = ( # "/buggy/" => "access 2 hours", # "/asdhas/" => "access plus 1 seconds 2 minutes" # ) # }}} # {{{ mod_rrdtool # see rrdtool.txt # # rrdtool.binary = "/usr/bin/rrdtool" # rrdtool.db-name = var.statedir + "/lighttpd.rrd" # }}} # {{{ mod_setenv # see setenv.txt # # setenv.add-request-header = ( "TRAV_ENV" => "mysql://user@host/db" ) # setenv.add-response-header = ( "X-Secret-Message" => "42" ) # }}} # {{{ mod_trigger_b4_dl # see trigger_b4_dl.txt # # trigger-before-download.gdbm-filename = "/home/weigon/testbase/trigger.db" # trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" ) # trigger-before-download.trigger-url = "^/trigger/" # trigger-before-download.download-url = "^/download/" # trigger-before-download.deny-url = "http://127.0.0.1/index.html" # trigger-before-download.trigger-timeout = 10 # }}} # {{{ mod_cml # see cml.txt # # don't forget to add index.cml to server.indexfiles # cml.extension = ".cml" # cml.memcache-hosts = ( "127.0.0.1:11211" ) # }}} # {{{ mod_webdav # see webdav.txt # # $HTTP["url"] =~ "^/dav($|/)" { # webdav.activate = "enable" # webdav.is-readonly = "enable" # } # }}} # {{{ extra rules # # set Content-Encoding and reset Content-Type for browsers that # support decompressing on-thy-fly (requires mod_setenv) # $HTTP["url"] =~ "\.gz$" { # setenv.add-response-header = ("Content-Encoding" => "x-gzip") # mimetype.assign = (".gz" => "text/plain") # } # $HTTP["url"] =~ "\.bz2$" { # setenv.add-response-header = ("Content-Encoding" => "x-bzip2") # mimetype.assign = (".bz2" => "text/plain") # } # # }}} # {{{ debug # debug.log-request-header = "enable" # debug.log-response-header = "enable" # debug.log-request-handling = "enable" # debug.log-file-not-found = "enable" # }}} # vim: set ft=conf foldmethod=marker et :