On the proxyed server arrive two simultaneous requests, one filtered (including the new header) an one not (without the new header). Why?
Thank you, Jack
<VirtualHost _default_:443>
SSLEngine on
SSLProxyEngine on
ProxyPass / "http://192.168.0.10"
ProxyPassReverse / "http://192.168.0.10"
PerlModule test::my_filter
PerlOutputFilterHandler test::my_filter
<Location />
SSLRequireSSL
</Location>
</VirtualHost>
package test::my_filter;
#use strict;
use warnings FATAL => 'all';
use base qw(Apache2::Filter::HTTPHeadersFixup);
sub manip {
my ($class, $ra_headers) = @_;
# modify a header
#for (@$ra_headers) {
# s/^(Foo).*/$1: Moahaha/;
#}
push @$ra_headers, "newheader: Hello\n";
}
(0)
]
