Project

General

Profile

Actions

Bug #894

closed

mod_redirect sends an HTTP 301 status (Moved Permanently).

Added by marc over 17 years ago. Updated over 16 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_redirect
Target version:
ASK QUESTIONS IN Forums:

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

Actions #1

Updated by spillgroup over 17 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

Actions #2

Updated by jfk over 17 years ago

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

Actions #3

Updated by jan over 16 years ago

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

In 1.5.0 is


url.redirect-code = 302
Actions

Also available in: Atom