Project

General

Profile

lighttpd how to use subrequest interface?

Added by jiaorenyu 4 months 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 4 months 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 2 months 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 are you asking and what you are attempting to do.

    (1-2/2)