I have a problem with a website.
I’m using “internet documents” to configure the HTTP task in my 6.5.1 server.
The problem is that the HTTP task ignores the home url. It is ONLY listening to the database default web setting (which is set to a page).
I use som substitutions - it is when I use these rule documents, the server acts funny…
The database we are talking about is located in
/web/gbu/default.nsf
I have 3 rules:
-
/* → /web/gbu/default.nsf/*
-
/web/gbu/default.nsf/* → /web/gbu/default.nsf/*
-
/.html → /web/gbu/default.nsf/html/.html
The substitutions is made to hide the many folders. This works perfectly - eg. i can call an imageresource in the database by www.mydomain.com/logo.gif.
The first substitution is made to be able to strip “/web/gbu/default.nsf”.
When I do this, I get a problem with some of the HTML generated by the domino. The domino appends “/web/gbu/default.nsf” to all url’s and the path then becomes “/web/gbu/default.nsf/web/gbu/default.nsf/”. Which is wrong.
The second substitution takes care of this.
The third substitution let me call eg. “www.mydomain.com/adocument.html” to return a document in a given view.
Everything works - exept that the website only opens whatever is set in the database properties and not in my home url.
I can write whatever i want - not even an error page is shown.
What do i do wrong?
pPease help
Regards,
- Christian Gravgaard