hcl-bot
1
Goal:
Users type in MyDominoApp (internal app) in the URL.
They go to http://MyDomain.com/path/main.nsf/Myform?OpenForm
What I did:
Web Site Doc -
Home URL: http://MyDomain.com/path/main.nsf
Web Site Rule -
Redirect
Incoming URL pattern: MyDominoApp/
Redirect to this URL: /Myform?Openform
What am I doing wrong?
Thanks in advance!
hcl-bot
2
Subject: Web Site Redirection Rule
Try this:
Create a substitution rule. I call it “base href”
Type of rule: Substitution
Incoming URL pattern: /*
Replacement pattern: path/main.nsf/*
Then, create a blank navigator called “index.html”.
Set the DB Launch preferences to launch this Navigator in it’s own window (make it the home page).
Now, rename your MyForm to the following:
MyForm|$$NavigatorTemplate for index.html|myform
HTH,
-Chris
Subject: RE: Web Site Redirection Rule
Thanks so much for your quick response. I will give it a try.
Do I need to change the Home URL on the web site doc?
hcl-bot
4
Subject: RE: Web Site Redirection Rule
Hi Chris,
Thanks again for your post. I’ve done as you suggested with the index.html and $$Nav but still cannot get it to work.
I followed example 3 from this tech article
which seems to be what I want.
Web Site Doc -
Home URL: /path/main.nsf
Web Site Rule -
Type: Substitution
Incoming: /MyDominoApp/*
Replacement: path/main.nsf/*
Please help. Thanks in advance.