Project

General

Profile

[Docs] lighttpd how to use subrequest interface?

Added by jiaorenyu over 6 years ago

When I browser the [[https://redmine.lighttpd.net/projects/lighttpd/wiki/HowToWriteALighttpdPlugin]], I found the url below is not found.

http://www.lighttpd.net/documentation/state.html

Actually I want to learn how to use the subrequest interface, but I can't find more document about it, can somebody give me a guide?


Replies (2)

RE: lighttpd how to use subrequest interface? - Added by gstrauss over 6 years ago

Much of the documentation such as https://redmine.lighttpd.net/projects/lighttpd/wiki/HowToWriteALighttpdPlugin has not kept up with major changes made in the past year.

You are better off looking at the code such as mod_skeleton.c or other small modules to get a feel for what is done in each of the hooks.

You can also see https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_InternalPlugins

RE: lighttpd how to use subrequest interface? - Added by gstrauss over 6 years ago

Actually I want to learn how to use the subrequest interface, but I can't find more document about it, can somebody give me a guide?

The subrequest interface is misnamed. It is not actually for "subrequests". As currently implemented, it is the request "handler" for more complex content generation, e.g. for anything that may need to be handled asynchronously in order to generate content (FastCGI, SCGI, CGI, proxy, etc).

If you are requesting guidance, please provide a brief introduction to why you are asking and what you are attempting to do.

    (1-2/2)