Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTPSys AddDefaultBinding
#5
(06-02-2021, 11:23 AM)Jose Nilton Pace Wrote: Hi Paul. You have read this: https://doc.atozed.com/en/iw15/develop/c...-intraweb/
Try set:
ServerController->HostWildcard := hwWeak;
ServerController->AddDefaultBinding := False;
ServerController->VirtualHostNames := 'http://url.com';

and in your OnBind:
aHttpBindings.Clear;
aHttpBindings.Add('http://<url>:80/');
aHttpsBindings.Clear;
aHttpsBindings.Add('https://<url>:443/');

Hi Jose,

Thanks for the tip(s), appreciated and they work.
The first part I already figured out and raised my question.
The second part I didn't figure out myself, but did the trick.

Thanx again!
Reply


Messages In This Thread
HTTPSys AddDefaultBinding - by PaulWeem - 06-01-2021, 03:11 PM
RE: HTTPSys AddDefaultBinding - by kudzu - 06-01-2021, 04:32 PM
RE: HTTPSys AddDefaultBinding - by PaulWeem - 06-02-2021, 07:54 AM
RE: HTTPSys AddDefaultBinding - by PaulWeem - 06-03-2021, 08:23 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)