clarification to above question i know parameter "-q" passes query string parameters what i'm looking to do is 1. create a variable within the conf 2. assign it request_filename 3. parse the new variable using a regular expression or basic string manipulationby peterjanovsky - Nginx Mailing List - English
when implementing a rewrite rule for a subrequest which is the proper way to tackle the issue 1. write the rewrite rule in the main location (location /), the location where the subrequests are generated 2. write the rewrite rule in the subrequest location i am using two subrequests to concatenate the document's contents residing at the requested URL example main request GET /patby peterjanovsky - Nginx Mailing List - English
thnx agentzh, can't wait to get into the source. i've been snooping around the echo module source to familiarize myself with subrequests as it provides great examples. question, is it possible to determine a content-length when you utilize subrequests or will that prohibit chunking? peterby peterjanovsky - Nginx Mailing List - English
matthieu, i may be experiencing the same issue. built a filter which sends a subrequest to a location different from the parent request. in my scenario i've seen both the parent and subrequest called first (varnishlog), haven't been able to figure out why the order in which requests are called is not consistent. from the nginx error log it appears that parent request is written to a temporarby peterjanovsky - Nginx Mailing List - English
if someone would shed light on how subrequests are concatenated to the parent request and send to the client it'd be much appreciated. currently i have been able to issue a subrequest and have verified both the parent request and subrequest successfully return a valid response. what happens now is that neither the parent request or concatenated subrequest are returned to my browser. an emptyby peterjanovsky - Nginx Mailing List - English
great tool, can't wait to unleash it's full potentialby peterjanovsky - New Member Introductions