Unverified Commit 3cab74ac authored by boklm's avatar boklm
Browse files

Bug 26234: add update_responses option to specify rewrite rules

Add the htaccess_rewrite_rules option which can be used to specify
rewrite rules to be added to the generated .htaccess files.
parent fcb2a370
......@@ -376,6 +376,7 @@ sub write_htaccess {
my $flags = "[last]";
foreach my $channel (@channels) {
my $htaccess = "RewriteEngine On\n";
$htaccess .= $config->{htaccess_rewrite_rules}{$channel} // '';
my $version = $config->{channels}{$channel};
my $migrate_langs = $config->{versions}{$version}{migrate_langs} // {};
my $files = $config->{versions}{$version}{files};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment