$HTTP["host"] =~ "(typo|blog)\.simplicio\.(com|net|org)" { server.document-root = "/home/rsimplicio/web/public/typo/" url.rewrite = ( "^/$" => "index.html", "^([^.]+)$" => "$1.html" ) server.error-handler-404 = "/dispatch.fcgi" server.indexfiles = ( "dispatch.fcgi") fastcgi.server = ( ".fcgi" => ( "Simplicio-typo" => ( "socket" => "/home/rsimplicio/web/lighttpd-typo-fcgi.socket", "bin-path" => "/home/rsimplicio/web/public/typo/dispatch.fcgi", "bin-environment" => ( "RAILS_ENV" => "production" ), "max-load-per-proc" => 25, "min-procs" => 1, "max-procs" => 1, "idle-timeout" => 60 ) ) ) }
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
Lighttpd conditional for subdomain (See related posts)
You need to create an account or log in to post comments to this site.
Related Posts
» My Typo Lighttpd host condit... in lighttpd typo conditional
» LightTPD subdomain rewrite, ... in lighttpd python subdomain fcgi django mod_rewrite
» My lighttpd php-fastcgi conf... in php fastcgi lighttpd
» Automatic sub-domains with l... in lighttpd virtualhosting subdomains mod_evhost
» Typo under lighttpd in lighttpd ruby rails typo ruby-fcgi
» Lighttpd proxy with Tracd sp... in lighttpd trac tracd proxy vhost
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails