>Stas Bekman wrote:
6. document how to add this header from their perl code.
+1
Would also allow to expose even more details for those who want to:
<Perl> $PerlConfig .= "Header set X-Powered-By '$ENV{MOD_PERL} CGI.pm/$CGI::VERSION'"; </Perl>
(requires mod_headers, which comes with Apache2)
Sure is a neat little piece of code. One problem with it though is that it will set that headers even for static content.
I think it's certainly a good enough example to add to the docs for the folks who want to send X-Powered-By headers if we don't end up implementing it though.
-------------------------------------------------------------------------------- Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5 http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5
signature.asc
Description: OpenPGP digital signature