Sha256: 2df02c2342955ed69810866cdcb6094f6ecc7c806eccb9f6b1ce5af715fc7df6

Contents?: true

Size: 2 KB

Versions: 115

Compression:

Stored size: 2 KB

Contents

# Default configuration file for the lighttpd web server
# Start using ./script/server lighttpd

server.bind = "0.0.0.0"
server.port = 3000

server.modules           = ( "mod_rewrite", "mod_accesslog", "mod_fastcgi", "mod_compress", "mod_expire" )

server.error-handler-404 = "/dispatch.fcgi"
server.pid-file          = CWD + "/tmp/pids/lighttpd.pid"
server.document-root     = CWD + "/public/"

server.errorlog          = CWD + "/log/lighttpd.error.log"
accesslog.filename       = CWD + "/log/lighttpd.access.log"

url.rewrite              = ( "^/$" => "index.html", "^([^.]+)$" => "$1.html" )

compress.filetype        = ( "text/plain", "text/html", "text/css", "text/javascript" )
compress.cache-dir       = CWD + "/tmp/cache"

expire.url               = ( "/favicon.ico"  => "access 3 days", 
                             "/images/"      => "access 3 days", 
                             "/stylesheets/" => "access 3 days",
                             "/javascripts/" => "access 3 days" )


# Change *-procs to 2 if you need to use Upload Progress or other tasks that
# *need* to execute a second request while the first is still pending.
fastcgi.server      = ( ".fcgi" => ( "localhost" => (
  "min-procs"       => 1, 
  "max-procs"       => 1,
  "socket"          => CWD + "/tmp/sockets/fcgi.socket",
  "bin-path"        => CWD + "/public/dispatch.fcgi",
  "bin-environment" => ( "RAILS_ENV" => "development" )
) ) )

mimetype.assign = (  
  ".css"        =>  "text/css",
  ".gif"        =>  "image/gif",
  ".htm"        =>  "text/html",
  ".html"       =>  "text/html",
  ".jpeg"       =>  "image/jpeg",
  ".jpg"        =>  "image/jpeg",
  ".js"         =>  "text/javascript",
  ".png"        =>  "image/png",
  ".swf"        =>  "application/x-shockwave-flash",
  ".txt"        =>  "text/plain"
)

# Making sure file uploads above 64k always work when using IE or Safari
# For more information, see http://trac.lighttpd.net/trac/ticket/360
$HTTP["useragent"] =~ "^(.*MSIE.*)|(.*AppleWebKit.*)$" {
  server.max-keep-alive-requests = 0
}

Version data entries

115 entries across 115 versions & 14 rubygems

Version Path
radiant-0.7.2 vendor/rails/railties/configs/lighttpd.conf
vibes-bj-1.2.2 spec/rails_root/vendor/rails/railties/configs/lighttpd.conf
vibes-bj-1.2.1 spec/rails_root/vendor/rails/railties/configs/lighttpd.conf
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/rails/railties/configs/lighttpd.conf
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/rails/railties/configs/lighttpd.conf
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/rails/railties/configs/lighttpd.conf
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/rails/railties/configs/lighttpd.conf
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/rails/railties/configs/lighttpd.conf
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/rails/railties/configs/lighttpd.conf
jstorimer-deep-test-0.2.0 sample_rails_project/vendor/rails/railties/configs/lighttpd.conf
jstorimer-deep-test-0.1.0 sample_rails_project/vendor/rails/railties/configs/lighttpd.conf
rails-2.2.3 configs/lighttpd.conf
antfarm-0.3.0 rails/vendor/rails/railties/configs/lighttpd.conf
antfarm-0.4.0 rails/vendor/rails/railties/configs/lighttpd.conf
authorails-1.0.0 configs/lighttpd.conf
backlog-0.0.0 vendor/rails/railties/configs/lighttpd.conf
backlog-0.0.1 vendor/rails/railties/configs/lighttpd.conf
backlog-0.0.2 vendor/rails/railties/configs/lighttpd.conf
backlog-0.0.5 vendor/rails/railties/configs/lighttpd.conf
backlog-0.0.4 vendor/rails/railties/configs/lighttpd.conf