Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02/02/2006 11:39 PM by  teresa beere johnson
Changing from http to https
 6 Replies
Sort:
You are not authorized to post a reply.
Author Messages
teresa beere johnson
New Member
New Member
Posts:25


--
01/26/2006 7:12 PM

    Hello, we've just added a security certificate to our site, and of course now all of our document url links dont work in dmx because they need an 's' added to http.

    Is there a quick way to do this in the database? Can you tell us where to look?

     

    Thanks

    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    01/26/2006 11:40 PM
    This is a new issue for me. Intersting. In the construction of urls, DMX uses DNN core functions called 'NavigateUrl' and 'AddHTTP'. The latter actually checks if the app is secure as follows (DNN Core, Globals.vb: lines 1648-):

    Public Function AddHTTP(ByVal strURL As String) As String
     If strURL <> "" Then
      If InStr(1, strURL, "mailto:") = 0 And InStr(1, strURL, "://") = 0 And InStr(1, strURL, "~") = 0 And InStr(1, strURL, "\\") = 0 Then
       If HttpContext.Current.Request.IsSecureConnection Then
        strURL = "https://" & strURL
       Else
        strURL = "http://" & strURL
       End If
      End If
     End If
     Return strURL
    End Function

    As you can see there is no excuse why urls do not return https ... so I'm guessing why this doesn't happen ...

    Peter
    teresa beere johnson
    New Member
    New Member
    Posts:25


    --
    01/31/2006 6:33 PM
    It also appears that our full text search isnt working any more. It returns results of all documents in the collection when searching for a word in the 'search text' part of the advanced document search.
    teresa beere johnson
    New Member
    New Member
    Posts:25


    --
    01/31/2006 6:38 PM
    I've crossed checked this with the indexed catalog, and a test search is returning the correct results, however the DMX returned search does not match
    Host Account
    New Member
    New Member
    Posts:15


    --
    02/01/2006 9:47 AM
    Me thinks it is more than just the http->https. You are running DMX 3.2.1?
    teresa beere johnson
    New Member
    New Member
    Posts:25


    --
    02/01/2006 10:38 AM
    Yes I am. Its the same site that you looked at earlier today for the mail link. I havent disabled the access I gave you if you want to take a look. Any term you enter in the text search in advanced returns way too many results when compared to a search in the MS Indexed catalog.
    teresa beere johnson
    New Member
    New Member
    Posts:25


    --
    02/02/2006 11:39 PM
    I know what it is - its relate to the same problem that they are having in the search newbie posts....
    You are not authorized to post a reply.