Has anyone found a solution for a major difference between Domino 5 and 6 HTTP redirection? It might not mean much if you don’t host multiple complex Web sites on Domino, but if it’s not user error (mine), I think it’s really a BIG problem.
In Domino 5, this works in a Web Configuration document:
Hostname: http://www.acme.com
Home URL: /welcome.nsf/hello?OpenPage
Assuming DNS of www.acme.com points to the Domino server, going to http://www.acme.com results in viewing the above “hello” page. And (good news) the browser only shows http://www.acme.com, not the messy full URL. This makes it easy to change the location/name of the home page without breaking bookmarks.
In Domino 6.0.3, the same thing should work in an Internet Site document. In fact, the above example is directly from the Domino 6 Help file, which shows specifying the Home URL as a relative link without the protocol/domain.
But it doesn’t work in a bunch of what-if tests. The browser gets a 404 error, and NO ERROR shows up on the Domino console. This suggests that Domino isn’t trying to find the Home URL, it’s just rejecting the request because no Internet protocol/domain is specified. In Domino 5, the incoming protocol/domain is used with the relative Home URL, but apparently in Domino 6 it is not. This is a major behavior change that might be inadvertent (bug?), since Domino 6 Help shows that the Domino 5 method is also the way to do it in Domino 6.
What DOES work in Domino 6 is this:
Hostname: http://www.acme.com
Home URL: http://www.acme.com/welcome.nsf/hello?OpenPage
This has two unfortunate problems. First, the full Home URL is displayed in the browser; it’s messy, and if someone bookmarks it, and the name or location of the “home” page is changed, the bookmark breaks.
And perhaps worse, hard-coding the Internet domain in the Home URL means the Internet site document can’t work across multiple servers. The page part of the URL would work “virtually” on any Domino server that contains it – a sweet feature of Domino 5 – but including the Internet domain locks it into one IP address/domain/server in Domino 6. Bummer!
Or, am I overlooking something?
– John