ok, it's enoug to return directly the http_status instead of OK or DECLINED.

Example:

apr_table_add(r->headers_out, "Location", "http://www.google.it";);
return 302;

Thanks!
Bye

2014-11-23 0:27 GMT+01:00 Eric Covener <cove...@gmail.com>:

> On Sat, Nov 22, 2014 at 6:22 PM, nik600 <nik...@gmail.com> wrote:
> > So, i've got 3 question:
> >
> > - is possible to set-up in this hook a REDIRECT_STATUS 302
> > - if yes, how ?
> > - if no, what is the hook to use and how can i set the http status?
>
> Check out how mod_rewrite passes itself a hint between tranlsate_name
> and handler.  Or how mod_alias redirects from the fixup hook.
>
> --
> Eric Covener
> cove...@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
/*************/
nik600
http://www.kumbe.it

Reply via email to