Project

General

Profile

Bug #1126 » lighttpd-1.5.0-svn-r1782.ligcc.conf

full config file - snailfly, 2007-04-17 15:07

 
1
#20070127
2
server.modules = (
3
        "mod_proxy_core",
4
        "mod_proxy_backend_http",
5
)
6
server.port                = 80
7
server.document-root        = "/opt/virtual/rdr.ligcc.com/"
8
server.errorlog             = "/opt/var/lighttpd/logs/ligcc.error.log"
9
server.indexfiles =                ( "index.php", "index.shtml", "index.html", "index.htm", "default.htm" )
10

    
11

    
12
proxy-core.balancer = "sqf"
13
proxy-core.protocol = "http"
14
$HTTP["host"] == "www.google.com" {
15
                #proxy-core.balancer = "sqf"
16
                #proxy-core.protocol = "http"
17
                proxy-core.backends  = (
18
                        "www.google.com",
19
                )
20
}
21

    
22
# mimetype mapping
23
mimetype.assign             = (
24
  ".pdf"          =>      "application/pdf",
25
  ".sig"          =>      "application/pgp-signature",
26
  ".spl"          =>      "application/futuresplash",
27
  ".class"        =>      "application/octet-stream",
28
  ".ps"           =>      "application/postscript",
29
  ".torrent"      =>      "application/x-bittorrent",
30
  ".dvi"          =>      "application/x-dvi",
31
  ".gz"           =>      "application/x-gzip",
32
  ".pac"          =>      "application/x-ns-proxy-autoconfig",
33
  ".swf"          =>      "application/x-shockwave-flash",
34
  ".tar.gz"       =>      "application/x-tgz",
35
  ".tgz"          =>      "application/x-tgz",
36
  ".tar"          =>      "application/x-tar",
37
  ".zip"          =>      "application/zip",
38
  ".mp3"          =>      "audio/mpeg",
39
  ".m3u"          =>      "audio/x-mpegurl",
40
  ".wma"          =>      "audio/x-ms-wma",
41
  ".wax"          =>      "audio/x-ms-wax",
42
  ".ogg"          =>      "application/ogg",
43
  ".wav"          =>      "audio/x-wav",
44
  ".gif"          =>      "image/gif",
45
  ".jpg"          =>      "image/jpeg",
46
  ".jpeg"         =>      "image/jpeg",
47
  ".png"          =>      "image/png",
48
  ".xbm"          =>      "image/x-xbitmap",
49
  ".xpm"          =>      "image/x-xpixmap",
50
  ".xwd"          =>      "image/x-xwindowdump",
51
  ".css"          =>      "text/css",
52
  ".html"         =>      "text/html",
53
  ".htm"          =>      "text/html",
54
  ".js"           =>      "text/javascript",
55
  ".asc"          =>      "text/plain",
56
  ".c"            =>      "text/plain",
57
  ".cpp"          =>      "text/plain",
58
  ".log"          =>      "text/plain",
59
  ".conf"         =>      "text/plain",
60
  ".text"         =>      "text/plain",
61
  ".txt"          =>      "text/plain",
62
  ".dtd"          =>      "text/xml",
63
  ".xml"          =>      "text/xml",
64
  ".mpeg"         =>      "video/mpeg",
65
  ".mpg"          =>      "video/mpeg",
66
  ".mov"          =>      "video/quicktime",
67
  ".qt"           =>      "video/quicktime",
68
  ".avi"          =>      "video/x-msvideo",
69
  ".asf"          =>      "video/x-ms-asf",
70
  ".asx"          =>      "video/x-ms-asf",
71
  ".wmv"          =>      "video/x-ms-wmv",
72
  ".bz2"          =>      "application/x-bzip",
73
  ".tbz"          =>      "application/x-bzip-compressed-tar",
74
  ".tar.bz2"      =>      "application/x-bzip-compressed-tar"
75
 )
76
###
77

    
78
####
(3-3/3)