httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Ralf S. Engelschall)
Subject Re: [BUG] mod_rewrite and redirect code
Date Sun, 06 Jul 1997 07:21:23 GMT

In article <> you wrote:

> The following rule:
>     RewriteRule ^/~marcs/(.*) http://valis/~marcs/$1 [redirect=permanent]
> still returns a 302 instead of a 301 like it should.  PR#777 is also about
> this. 

> The following patch fixes it, but I haven't really had the time to look
> and see if it is correct.  Ralf?

Hua! Yes, the setting of r->status really need to be outside the if-block.
Correctly fixed, +1. Thanks Marc.

                                       Ralf S. Engelschall

View raw message