002c1d9354c9790318dc53433c162a3d008c5e4e
[catagits/Catalyst-Manual.git] / lib / Catalyst / Manual / Deployment / lighttpd / FastCGI.pod
1 =head1 NAME
2
3 Catalyst::Manual::Deployment::lighttpd::FastCGI - Deploying Catalyst with lighttpd
4
5 =head4 Static file handling
6
7 Static files can be served directly by lighttpd for a performance boost.
8
9    $HTTP["url"] !~ "^/(?:img/|static/|css/|favicon.ico$)" {
10          fastcgi.server = (
11              "" => (
12                  "MyApp" => (
13                      "socket"       => "/tmp/myapp.socket",
14                      "check-local"  => "disable",
15                  )
16              )
17          )
18     }
19
20 Which serves everything in the img, static, css directories
21 statically, as well as the favicon file.
22