Simple rewrite handler

Joseph Spencer jsdevel at
Mon Aug 28 22:26:21 UTC 2017


I've been pouring over documentation and source code for the rewrite
module, but I'm having difficulty understanding how I could go about
implementing a simple re-write handler.  I have a few questions and I'm
hoping that someone can answer:

   - Does the handler have to be registered in one of the rewrite phases?
   - Is it necessary to use captures?  Or can I just modify r->uri and
   return the proper status?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list