Redirecting Web Users to Any Database

I can't take credit for this one. A fellow employee pointed it out to me. He found it in the Domino.Doc Administration Manual. I have been developing Notes/Domino since R3 and it blew me away when I read about it.

This technique will allow you to "point" Web site users at any database on your server without having to type in any of the subdirectory names that you would normally have to use to get to your Domino Web pages by simply creating a text file using whatever editor that creates system compatible text files (such as NotePad if you are using a Windows-based server). In this text file you enter in the full file-system path of the database you want to point to and then save this file in your Domino/Data directory and give it a file name which includes a file suffix of .NSF. (Yes, that's right. You are creating a text file and using the exact same file suffix as if it were a Domino database. I know it sounds weird, but it works).

So, you have a Domino database on your server and the fully qualified file name is: D:\R5\DATA\ACCOUNTING\TOP\THISWEB.NSF

You can create a text file called SITEA.NSF, enter the above fully qualified file name into the file, and DO NOT ADD a carriage return at the end of that line. Save that text file into your D:\R5\DATA directory.

Now, Open your browser and enter a url that includes that new file you just created:

HTTP://EREHNKE/SITEA.NSF

If you got it right, you will be launched into the THISWEB.NSF database and you URL line won't even give it away.

Is that cool, or what? According to the Domino.Doc Administration manual, this "trick" has another benefit.

You only need to authenticate with the server ONCE. Not several times as it sometimes requires.

How's that?

This was first published in February 2001

Dig deeper on Domino Resources - Part 5

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.UK

Close