Home Server
New Blog Posts: Merging Reports - Part 1 and Part 2

HTTPS And WebTier

edited March 2003 in Server
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

Comments

  • edited March 2003

    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
  • edited March 2003
    I cannot prefix WebCachePath and WebModuleURI with https at Delphi
    design-time. The TrsWebTier component turns it into http://https://... :(

  • edited March 2003

    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
This discussion has been closed.