Tip

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.