Project

General

Profile

Feature #2247

Adding url.redirect-code to 1.4

Added by spaam over 6 years ago. Updated over 4 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2010-08-13
Due date:
% Done:

100%

Missing in 1.5.x:
No

Description

Hi.
I backported url.redirect-code from 1.5 to 1.4.
maybe someone will find it useful.

lighttpd-redirect_code.patch View (1.67 KB) spaam, 2010-08-13 02:58


Related issues

Related to Feature #2348: Backport url.redirect-code Duplicate 2011-09-27
Related to Feature #1475: add url.redirect-found option to send status code 302 in the redirect module Duplicate

Associated revisions

Revision 172eeebf (diff)
Added by stbuehler over 4 years ago

[mod_redirect] Support url.redirect-code option (fixes #2247)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2838 152afb58-edef-0310-8abb-c4023f1b3aa9

Revision 2838 (diff)
Added by stbuehler over 4 years ago

[mod_redirect] Support url.redirect-code option (fixes #2247)

History

#1 Updated by radzio over 6 years ago

Why do you accept non 3xx statuses?
If it's going to be just a redirect then it shouldn't allow statuses different than 3xx.

#2 Updated by stbuehler over 6 years ago

If people want to do stupid things we can't stop them anyway :)

#3 Updated by radzio over 6 years ago

Don't make it easy for them ;P

#4 Updated by stbuehler over 4 years ago

  • Target version changed from 1.4.x to 1.4.31

#5 Updated by stbuehler over 4 years ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2838.

#6 Updated by gstrauss 5 months ago

  • Related to Feature #1475: add url.redirect-found option to send status code 302 in the redirect module added

Also available in: Atom