Project

General

Profile

Bug #894

mod_redirect sends an HTTP 301 status (Moved Permanently).

Added by marc almost 13 years ago. Updated about 12 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
mod_redirect
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

Description

mod_redirect sends an HTTP 301 status (Moved Permanently).
Problem is this is a PERMANENT redirect, and browsers will cache this. So if you change your redirect in lighty's config, browser keeps going to the previous value.

mod_redirect should send a HTTP 302 status (307 would actually be better).

ref. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

History

#1

Updated by spillgroup almost 13 years ago

I think a 302 would serve as a good default, but ideally it would be configurable just like Apache:

http://httpd.apache.org/docs/1.3/mod/mod_alias.html#redirect

#2

Updated by jfk over 12 years ago

My vote, just had to change the source to give out 302s.

#3

Updated by jan about 12 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

In 1.5.0 is


url.redirect-code = 302

Also available in: Atom