httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo>
Subject Re: [PATCH] add notfound to mod_rewrite rule
Date Thu, 01 Jun 2006 20:24:49 GMT
* Brian Akins wrote:

> 'redirect|R  [=code]' (force redirect)
> Prefix Substitution with http://thishost[:thisport]/ (which makes the
> new URL a URI) to force a external redirection. If no code is given, a
> HTTP response of 302 (MOVED TEMPORARILY) will be returned. If you want
> to use other response codes in the range 300-400, simply specify the
> appropriate number or use one of the following symbolic names: temp
> (default), permanent, seeother. Use this for rules to canonicalize the
> URL and return it to the client - to translate ``/~'' into ``/u/'', or
> to always append a slash to /u/user, etc.
> So do the docs need to be updated to say: return arbitrary http code?
> BTW, this does work.  patch withdrawn.  somebody needs to fix docs...

Yeah, good point. This could really need some better wording. ;)

"Umfassendes Werk (auch fuer Umsteiger vom Apache 1.3)"
                                          -- aus einer Rezension


View raw message