Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lighttpd(8) [debian man page]

LIGHTTPD(8)															       LIGHTTPD(8)

NAME
lighttpd - a fast, secure and flexible web server SYNOPSIS
lighttpd [-ptDvVh] -f configfile [-m moduledir] DESCRIPTION
lighttpd (pronounced 'lighty') is an advanced HTTP daemon that aims to be secure, fast, compliant and very flexible. It has been optimized for high performance. Its feature set includes, but is not limited to, FastCGI, CGI, basic and digest HTTP authentication, output compres- sion, URL rewriting. This manual page only lists the command line arguments. For details on how to configure lighttpd and its modules see the files in the doc- directory. OPTIONS
The following options are supported: -f configfile Load configuration file configfile. -m moduledir Use moduledir as the directory that contains modules, instead of the default. -p Print the parsed configuration file in its internal form and exit. -t Test the configuration file for syntax errors and exit. -D Do not daemonize (go into background). The default is to daemonize. -v Show version and exit. -V Show compile-time features and exit. -h Show a brief help message and exit. FILES
/etc/lighttpd/lighttpd.conf The standard location for the configuration file. /var/run/lighttpd.pid The standard location for the PID of the running lighttpd process. SEE ALSO
Online Documentation: http://wiki.lighttpd.net/ spawn-fcgi(1) Hypertext Transfer Protocol -- HTTP/1.1, RFC 2616. HTTP Authentication: Basic and Digest Access Authentication, RFC 2617. The Common Gateway Interface Version 1.1, RFC 3875. The FastCGI specification. AUTHOR
Jan Kneschke <jan@kneschke.de> 2009-03-07 LIGHTTPD(8)

Check Out this Related Man Page

Plack::Middleware::LighttpdScriptNameFix(3pm)		User Contributed Perl Documentation	     Plack::Middleware::LighttpdScriptNameFix(3pm)

NAME
Plack::Middleware::LighttpdScriptNameFix - fixes wrong SCRIPT_NAME and PATH_INFO that lighttpd sets SYNOPSIS
# in your app.psgi use Plack::Builder; builder { enable "LighttpdScriptNameFix"; $app; }; # Or from the command line plackup -s FCGI -e 'enable "LighttpdScriptNameFix"' /path/to/app.psgi DESCRIPTION
This middleware fixes wrong "SCRIPT_NAME" and "PATH_INFO" set by lighttpd when you mount your app under the root path ("/"). If you use lighttpd 1.4.23 or later you can instead enable "fix-root-scriptname" flag inside "fastcgi.server" instead of using this middleware. CONFIGURATION
script_name Even with "fix-root-scriptname", lighttpd still sets weird "SCRIPT_NAME" and "PATH_INFO" if you mount your application at "" or something that ends with "/". Setting "script_name" option tells the middleware how to reconstruct the new correct "SCRIPT_NAME" and "PATH_INFO". If you mount the app under "/something/", you should set: enable "LighttpdScriptNameFix", script_name => "/something"; and when a request for "/something/a/b?param=1" comes, "SCRIPT_NAME" becomes "/something" and "PATH_INFO" becomes "/a/b". "script_name" option is set to empty by default, which means all the request path is set to "PATH_INFO" and it behaves like your fastcgi application is mounted in the root path. AUTHORS
Yury Zavarin Tatsuhiko Miyagawa SEE ALSO
Plack::Handler::FCGI <http://github.com/miyagawa/Plack/issues#issue/68> <https://redmine.lighttpd.net/issues/729> perl v5.14.2 2011-02-27 Plack::Middleware::LighttpdScriptNameFix(3pm)
Man Page