Reputation: 1413
I have set up a small XPage and have until now used the full path to the Xpage for testing, i.e.
I then tried to apply a Web Site Document
But the links are no longer currently functioning. I have the feeling that I'm missing something pretty basic, and am unsure as to what the best practice is. I'm quite happy with having the original request to the hostname resolve to a full path, i.e.
input
schulungen.magerman.com
and have it resolve to
schulungen.magerman.com//Development/Schulungen/Schulungen1_0/Schulungen_(1_0)_Dev.nsf
but haven't found a way to do this elegantly.
At the moment, my relative links '/OtherXpage.xsp' fail as they try to get to schulungen.magerman.com/OtherXpage.xsp
Any pointers?
Upvotes: 3
Views: 92
Reputation: 30960
Create a Web Site Rule. You can create it from your Web Site document in edit mode with action button " Web Site ... / Create Rule".
You can find a description how to fill the fields here.
Upvotes: 3
Reputation: 3484
The problem is usually that you need to add a trailing slash to the hostname http://www.xpagedeveloper.com/2013/quicktip-get-right-path-when-autolaunching-an-xpage
Upvotes: 1