You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lighttpd2/doc/mod_fastcgi.xml

43 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:lighttpd.net:lighttpd2/doc1">
<short>connect to FastCGI backends for generating response content</short>
<action name="fastcgi">
<short>connect to FastCGI backend</short>
<parameter name="socket">
<short>socket to connect to, either "ip:port" or "unix:/path"</short>
</parameter>
<description>
<textile>
Don't confuse FastCGI with CGI! Not all CGI backends can be used as FastCGI backends (but you can use "fcgi-cgi":https://redmine.lighttpd.net/projects/fcgi-cgi/wiki to run CGI backends with lighttpd2).
</textile>
</description>
<example>
<config>
fastcgi "127.0.0.1:9090"
</config>
</example>
<example>
<description>
<textile>
Start php for example with spawn-fcgi: @spawn-fcgi -n -s /var/run/lighttpd2/php.sock -- /usr/bin/php5-cgi@
</textile>
</description>
<config>
setup {
module_load "mod_fastcgi";
}
if phys.path =$ ".php" and phys.is_file {
fastcgi "unix:/var/run/lighttpd2/php.sock";
}
</config>
</example>
</action>
<option name="fastcgi.log_plain_errors">
<short>whether to prepend timestamp and other info to FastCGI stderr lines in the "backend" log</short>
<default><value>false</value></default>
</option>
</module>