Hi,

Using the new declarative Rewriter XML feature [1][2], it seems the
only actions possible are either dispatching to an actual module to
handle the request, or throwing an error.

It seems it is not possible to issue a redirect declaratively.  For
instance, something like:

    <match-path matches="^/old/place$">
       <redirect>/new/place</redirect>
    </match-path>

in order to issue a 307 (or 302 in HTTP/1.0) to the user, in a
declarative way, directly from the rewriter.

Is that the case, or did I miss anything?

Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/

[1] https://developer.marklogic.com/features/enhanced-http
[2] https://docs.marklogic.com/guide/app-dev/XMLrewriter
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to