Tuesday, September 18, 2007

Using Domino as a Normal Web Server

One of our recent projects involves the publication of an online annual report. As with most of these corporate things, the marketing people approach non-domino, non-windows designers and ask for what they want completely oblivious to the technical ramifications of what they have just requested. This isn't to say that we have bad marketing people, in fact ours are rather good. It's just that this is normal marketing behaviour and is typical of all of the organisations I've worked in.

So, we were suddenly faced with a very short deadline and a whole heap of html, css and other web files.

We could probably have put all of these files into a domino database and changed a lot of code, but the keyword here was "deadline".

The answer: Simply dump all of the files into the html directory on the domino server...

D:\Lotus\Domino\Data\domino\html

This path is correct... for our server at least. The word Domino does appear twice.

We also have a D:\Lotus\Domino\html folder on our server. Putting the files there doesn't work. I'm not sure if that directory is a standard one or if it is just on our server.

At any rate, once you put a file eg: myfile.html into the right place, you can reference it simply by using the following URL format.

http://www.myserver.com.au/myfile.html

You can even nest your files in folders (eg: http://www.myserver.com.au/myfolder/myfile.html) and can reference sub-folders in the usual manner for html. This is useful if you want to have several discrete items (eg: annual reports for different years) or if you want to keep your data and images separate.

Of course, hosting data in this way bypasses a lot of the security advantages of domino but it does serve to demonstrate the versatility of the domino system.

No comments: