Feature #1446
closedadd url.redirect-found option to send status code 302 in the redirect module
Description
I posted modified source to mod_redirect.c. I've also posted the source in ticket #61 (http://trac.lighttpd.net/trac/ticket/61). I am unsure if past tickets are ignored or not, so I am creating a new ticket. The new feature will allow those to use the redirect functionality without having to modify the code.
You should be able to do a diff against the version of mod_redirect.c in the repository for version 1.4.18.
Thanks,
Angelo Mandato
-- angelo
Files
Updated by Anonymous about 17 years ago
The only difference between the latest attachment and the previous is the addition of "url.redirect-found" to the config_values_t cv[] structure. The addition is needed so no warnings are printed regarding an unknown configuration setting or something to that effect.
config_values_t cv[] = {
{ "url.redirect", NULL, T_CONFIG_LOCAL, T_CONFIG_SCOPE_CONNECTION }, /* 0 */
{ "url.redirect-found", NULL, T_CONFIG_LOCAL, T_CONFIG_SCOPE_CONNECTION }, /* 0 */
{ NULL, NULL, T_CONFIG_UNSET, T_CONFIG_SCOPE_UNSET }
};
-- angelo
Updated by stbuehler almost 17 years ago
- Status changed from New to Fixed
- Resolution set to duplicate
See #1475 for further discussion.
Also available in: Atom