Seems most web server support subrequest.
I found here’s one question about sub request:
But what is the point of sub request at all,when is that kind of thing really useful?
Is it defined in http protocol?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Apache subrequests can be used in your e.g. PHP application with
virtual() to access resources from the same server. The resource gets processed from Apache normally as normal requests are, but you don’t have the overhead of sending a full HTTP request on the network interface.Less overhead is probably the only reason one would want to use it instead of a real HTTP request.
Edit: The resources are processed by apache, which means that the apache modules are used if configured. You can request a
mod_perlormod_rubyprocessed resource from PHP.