• Edit article(page) redirect website tot Domino Hostname !!

    By Gert-Jan Alderlieste 7 years ago

    Dear OpenNTF,

    I have a problem with the XPages Documentation WIKI. Everything is working fine but when I try to edit a page, the server redirecting me to the Server's Hostname.

    Example: http://wiki.websitename.com/wiki/wiki.nsf**** -> http://servername.domainname.com/wiki/wiki.nsf****.

    I am using Lotus Domino 8.5.2FP1. I am using website documents.

    Can you tell me what I can do to solve this problem.

    Thank very much.

    • Workaround

      By Karsten Lehmann 7 years ago

      I worked around this issue by replacing

      var url=@LeftBack(database.getHttpURL(),"/")+facesContext.getExternalContext().getRequestContextPath();


      var url=facesContext.getExternalContext().getRequestContextPath();

      in several locations in the database (custom controls and script libraries). Just search for "getHttpURL" in DDE to find all relevant places.

      Best regards,

      Karsten Lehmann