Substitution rules

Hi

I need some assistance with substitution rules.

I have a web enabled database that i wish to people to view - over the Internet , funnily enuf.

But the URL for the database would be

http://myserver.mydomain.com.au/dbs/web/content.nsf

I can get the global web web setting to resolve so that //myserver.mydomain.com.au opens the database.

However, when i click on any link in the database, the URL appears up top as

http://myserver.mydomain.com.au/dbs/web/content.nsf/webdocsview/61F34EC4E0B7EFC94A256FA8001C8CCE?OpenDocument

i would have thought that using substitution rules e.g. /dbs/web/content.nsf/* → /ws/* would reduce the length of the URL displayed , thatis make it more user friendly

http://myserver.mydomain.com.au/ws/webdocsview/61F34EC4E0B7EFC94A256FA8001C8CCE?OpenDocument

or even shorter

http://myserver.mydomain.com.au/ws/61F34EC4E0B7EFC94A256FA8001C8CCE?OpenDocument

Will substitution rules achieve what i want ?

(since the help file says: " Substitution rules should be used … when you want to provide user-friendly aliases for complex URLs."

(i’m sure i’ve used them in r5 … a while back)

or am i barking up the wrong tree??

thanks in advance

andyG

P.S. i have read the admin help files and searched this forum, but i could find not direct examples or solutions.

Subject: Substitution rules

I’m not sure if this will work. You would normally use substitution rules in scenarios where you moved a website to another folder and you don’t want to change all links e.g. go from /oldsite/* to /newsite/. But in that case the new site is actually available in the newsite folder. In your construction /ws/ is not a valid folder where the website can be found.

I’m not sure how you could achieve this (the way you want it). You could try a redirection rule for /ws which hides the complete URL. I know you can do that but don’t know how. Hopefully someone else posts the solution to that :slight_smile:

S