Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP content handler
#2
ServerController.BlockedDocExtensions property by default contains .php extension. The reason is that 99.9999999999% of all attack/exploit kits available out there - that are used by someone trying to gain access to your application and/or server - uses several requests all targeting some .php file. IntraWeb by default refuses to process those requests.

Use the ServerController.OnConfig event to remove .php extension from BlockedDocExtensions:

procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject);
begin
BlockedDocExtensions.Remove('.php');
end;
Reply


Messages In This Thread
PHP content handler - by JuergenS - 07-31-2022, 12:36 PM
RE: PHP content handler - by Alexandre Machado - 07-31-2022, 09:15 PM
RE: PHP content handler - by JuergenS - 08-01-2022, 09:05 AM
RE: PHP content handler - by Alexandre Machado - 08-02-2022, 04:59 AM
RE: PHP content handler - by JuergenS - 08-07-2022, 03:48 PM
RE: PHP content handler - by Alexandre Machado - 08-09-2022, 04:26 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)