Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can X-Powered-By response header be removed?
#8
(10-03-2018, 08:35 PM)LorenSzendre Wrote:
(10-03-2018, 05:35 PM)rchristi12 Wrote:
(10-03-2018, 05:17 PM)LorenSzendre Wrote:
(10-03-2018, 05:12 PM)rchristi12 Wrote:
(10-03-2018, 04:51 PM)LorenSzendre Wrote: I just tried this and it worked:

   if Pos('IntraWeb', vMetaValue) > 0 then
   begin
      vMetaValue := '';
   end;

Is there a more elegant way to accomplish this task?

We do plan on upgrading during our freeze period in December.   Regarding that snippet of code, in what method/event did you do that?

procedure TIWServerController.IWServerControllerBaseMetaTag(
  ASession: TIWApplication; const AMetaName: string; var vMetaValue: string);
begin
   if Pos('IntraWeb', vMetaValue) > 0 then
   begin
      vMetaValue := '';
   end;


Thanks.  I guess I will revisit this once we upgrade to version 15.
15 is really impressive, I like it a lot. Migrating to it was simple, but it was not without hiccups. I found two serious bugs, one of which was a corner case and was fixed, and the other of which will shortly be fixed. I already have an easy workaround, so I'm already using 15 effectively in production.

I've very glad to be on 15. If you don't have any 3rd party IW components, you can literally be compiling and running on 15 in as long as it takes to run the installer.

That's good to know.  Unfortunately you need to purchase a new license for version 15 otherwise we would have tried to upgrade already.  We do use TMS components but it appears they support version 15 now.

By the way it turns out I was able to suppress the powered by message without upgrading.  I did so by using URL Rewrite and creating an outbound rule.

Thanks again guys for the info.
Reply


Messages In This Thread
RE: Can X-Powered-By response header be removed? - by rchristi12 - 10-03-2018, 08:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)