Internet Sites

Tuesday 1st November, 2005
I was pinged by Chris Linfoot to ask if I would mind hosting a little Nortes web application for him, not a problem at all...but then he asked if I minded tightening up my server security config a little bit first. It was at this point, I opened a chapter in the admin guide I hadn't really looked at in much detail before.

Basically, during testing, Chris discovered that www.hisdomain.com/bensblog.nsf opened without a problem. Whilst this wasn't a major issue, it just didn't feel right. Likewise, www.jaffacake.net/chrislinfoot/hisapp.nsf would open his application. In both cases, as the base URL was wrong, there were small UI issues too.

The solution, I was informed, was to change my server configuration and use Internet Site documents. These wouldn't just affect http access, but also smtp, pop3 and imap so it wasn't a quick change; I needed to plan carefully.

In the end, once I'd worked out what the hell i was doing and planned it through it didn't take too long to implement. By adding the URL substitutions Chris suggested I could even dumps the .nsf suffixes from my site URLs but also maintain backward compatibility for any existing bookmarks or google links.

So now, another box checked in my admin knowledge and http://www.jaffacake.net/bensblog.nsf is now simply http://www.jaffacake.net and http://www.jaffacake.net/names.nsf just doesn't work. I like it and so do all the other hosted sites. Thanks Chris.

  1. 1) Jack Dausman Said: (01/11/2005 17:58:51 GMT) Gravatar Image
    Internet Sites

    A lot of people have glossed over the web site rules and such in ND6. There are some good Developerworks articles for those who may want to follow your good example.

    { Link }

  2. 2) Eric Parsons Said: (01/11/2005 18:49:04 GMT) Gravatar Image
    Internet Sites

    My big complaint with Internet site documents, is that the default page is no longer available.

    The old way, one could say "index.htm, index.php, default.html" is the list of files that if the request is for a directory, the webserver should serve. The new way, no such (ND6x) "default" file name for a directory. One must provide redirects for each directory.

    Anyone know if that's "fixed" in ND7?

  3. 3) Ben Rose Said: (02/11/2005 08:31:55 GMT) Gravatar Image
    Internet Sites

    I'm using ND7 here. In the internet site documents there are options for "default homepage" but I'm not sure how this differs from ND6.

    Each site document points to a base URL though, not a folder.

Add Comment
 
Subject:
   
Name:
E-mail:
Web Site:
 
Comment:  (No HTML - Links will be converted if prefixed http://)
 
Remember Me?