Feature #1003
closedFeature request: X-Subrequest-*
Description
Apache + mod_php include a special function called virtual() that lets you start a new subrequest inside apache and not care about the result.
It would be nice to have a similar feature in lighttpd that performs an additional request and discards the results. The headers should be similar to the new X-Rewrite (http://blog.lighttpd.net/articles/2006/07/22/x-sendfiles-new-friend-x-rewrite) and would be returned along with a valid response.
X-Subrequest-URI and X-Subrequest-Host would work nicely.
Updated by darix about 18 years ago
what would be the usecase? except generating useless cpu load?
Updated by conny almost 18 years ago
PHP docs: http://php.net/virtual.
What an odd function, I never knew about that one. I am also curious as of how and when you would make use of such a function? :-)
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to wontfix
Just do a real http request if you have to (i guess your system is broken anyway).
Also available in: Atom