Serving files over the web

(Edited to make my question clearer)

I’m working on a web application that will list and serve the files in a particular directory within our organization. This directory is not on the Domino server due to space concerns. I would like to have just a single (Domino) login to the website rather than set up another web server with it’s own security. Is this possible? Does anyone have any guidance?

Here is what I have tried:

I set up a Domino agent to read the directory and create url links to the files.

Set doc = session.DocumentContext

filename = Dir$(“\storevault\shared\jobs*.*”)

While filename <> “”

rtn = rtn + buildlink(filename)

filename = Dir$()

Wend

print rtn

buildlink just does this:

” + filename + “

I have created a URL Mapping/Redirection as follows:

URL → Directory

Site Information Tab is blank

Incomming URL String: /projects

Target Server Direcotry: \storevault\shared\jobs

Access: I have tried both Read and Execute, but I think Read is correct

Is there something I am missing here? I’ve created an application like this before and it worked fine, however that was on an intranet and I was not the admin for that site so i didn’t set up any of the rules. Any help or suggestions would be appreciated.

Subject: Serving files over the web

Alright I think I found my solution here.

Looks like I’ll have to embed the file into a richtext field on a new notes document and then return the document.

Subject: Serving files over the web

If I remember right (and Willy will beat me for spreading wrong info without doing propper research first) you cannot simply create a URL mapping to any arbitrary folder on the server’s hard disk. Stuff must reside in the data or html directory.

Subject: RE: Serving files over the web

Thank you for your reply.

I have gotten this to work before. I wish I could post a link to an example, but it is on an intranet site. Perhaps that is the difference - maybe i set it so that the links were to the UNC path of the file instead of served up over the web… hmmm I’ll have to go back and check that.

But the problem remains. We have a network storage device with a terrabyte of space. Our domino server has considerably less. Serving these files from the /html directory of the domino server is just not an option, but I would like to use the domino login to access these files. Is there any way to accomplish that?

  • Gary