 any other handler.
</p>
<p>
<div class="example">
<div class="caption">Example. Rewriting URL with delegation</div>
<pre><code>paths:
  &quot;/&quot;:
    mruby.handler: |
      lambda do |env|
        if /\/user\/([^\/]+)/.match(env[&quot;PATH_INFO&quot;])
          return [307, {&quot;x-reproxy-url&quot; =&gt; &quot;/user.php?user=#{$1}&quot;}, []]
        end
        return [399, {}, []]
      end
</code></pre>
</div>


<h3 id="modifying-response">Modifying the Response</h3>

<p>
When the mruby handler 