HTTPS And WebTier
Hello,
My Intraweb application can easily access my webtier ISAPI application with
the following rsWebTier1 Parameters:
WebCachePath is set to http://www.mywebsite.com/mywebtier/cache/
WebModuleURI is set to http://www.mywebsite.com/mywebtier/mywebtier.dll
This brings me to my question. In order to use SSL with Report Builder's
WebTier, do I have to write the following code in OnCreate Event of the
webmodule:
with rsWebTier1 do begin
HTTPPrefix := 'https://';
WebCachePath := 'https://www.mywebsite.com/mywebtier/cache/';
WebModuleURI := 'https://www.mywebsite.com/mywebtier/mywebtier.dll';
end;
Thank you,
Tracy McClarnon
My Intraweb application can easily access my webtier ISAPI application with
the following rsWebTier1 Parameters:
WebCachePath is set to http://www.mywebsite.com/mywebtier/cache/
WebModuleURI is set to http://www.mywebsite.com/mywebtier/mywebtier.dll
This brings me to my question. In order to use SSL with Report Builder's
WebTier, do I have to write the following code in OnCreate Event of the
webmodule:
with rsWebTier1 do begin
HTTPPrefix := 'https://';
WebCachePath := 'https://www.mywebsite.com/mywebtier/cache/';
WebModuleURI := 'https://www.mywebsite.com/mywebtier/mywebtier.dll';
end;
Thank you,
Tracy McClarnon
This discussion has been closed.
Comments
Yes, that should work.
I think prefixing WebCachePath and WeModuleURI with https at Delphi
desig-time will also work. The WebTier can also be configured to dynamically
load config settings from an .ini file. See WebTier.InitSettings in the
online help.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
design-time. The TrsWebTier component turns it into http://https://...
Thanks for pointing this out. I forgot that the prop setters use the
Webtier.HTTPPrefix to validate the address.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com