Ticket #894 (closed defect: fixed)

Opened 23 months ago

Last modified 13 months ago

mod_redirect sends an HTTP 301 status (Moved Permanently).

Reported by: marc Owned by: jan
Priority: normal Milestone: 1.5.0
Component: mod_redirect Version: 1.4.13
Severity: normal Keywords:
Cc: Blocked By:
Need User Feedback: no Blocking:

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

Attachments

Change History

Changed 23 months ago by spillgroup

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

Changed 20 months ago by jfk

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

Changed 13 months ago by jan

  • status changed from new to closed
  • resolution set to fixed
  • pending unset
  • milestone set to 1.5.0

In 1.5.0 is

url.redirect-code = 302

Add/Change #894 (mod_redirect sends an HTTP 301 status (Moved Permanently).)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.