Simple rewrite handler

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


Hello,

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?


Thanks,
Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20170828/e33f56c8/attachment.html>


More information about the nginx-devel mailing list