Microsoft KB Archive/197249

= Search Does Not Return HTTPS Links for Exchange Articles =

Article ID: 197249

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Site Server 3.0 Commerce Edition

-



This article was previously published under Q197249



SUMMARY
When you crawl an Exchange public folder using Site Server Search, you may notice that all links returned are for HTTP instead of HTTPS, even though your Outlook Web Access pages are secured using SSL.



MORE INFORMATION
Search assumes that all links being returned for Exchange documents use HTTP. In order to get the results to use HTTPS, add code to the search page to strip the HTTP off of the DocAddress property and add HTTPS to the string. The following is a sample piece of code that strips off HTTP and then adds HTTPS for passing to the Java Script routines that generate the links for the browser: linkurl = "https" & right(rs("docaddress"),len(rs("docaddress"))-4) if ExchangeViewer="OWA" or OutlookBrowser=false then Link = "JavaScript:self.openNewWindow(" & chr(34) & linkurl &  "&usemainwnd=1" & chr(34) & ", 640,500)" LinkTarget = "" elseif ExchangeViewer="Outlook" or ExchangeViewer="both" then Link = "JavaScript:DisplayMsg(" & chr(34) & linkurl & "=1" &         chr(34) & ")" LinkTarget = "" end if         if ExchangeViewer="both" then OWALink = "JavaScript:self.openNewWindow(" & chr(34) &  linkurl              & "&usemainwnd=1" & chr(34) & ", 640,500)" end if

Keywords: KB197249

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.