• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

10.4. The Web Interface

This project relies on ASP, which is built into IIS. ASP can dynamically generate web pages using any ActiveX compliant language. You'll be using VBScript here, but you could just as easily use JavaScript or Perl. I'll get into the details of the scripts later, but the basic idea is that the filesystem is parsed and represented in HTML and then sent to the browser. For simplicity's sake I've kept the format of the generated pages rather sparse in order to focus on the mechanics of the parsing process. Adding style is simple if you know HTML; if you don't, these pages are still functional even if they're not pretty.

10.4.1. 1. Create the default page script

When you specify a URL in your web browser without providing a page name, IIS will automatically serve up the default page. This page can have any of several names (index.htm, default.htm, or default.asp) without any further configuration of IIS. We'll be using the name default.asp as the name of our default page. You can create this file using any text editor and save it in the root directory of your web server.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint