Designing and Developing Database-driven Website using Cold Fusion
Application Server Technology
Determining whether CFML installed correctly or not:
Comments and any Enquiry related to this Project Welcome Here
Copyright © Abhishek Porwal, DA-IICT, Gandhinagar
Last Updated 4th September 2004

 

PATH: MYCOMPUTER > CONTROL PANEL > ADMINISTRATIVE TOOLS > INTERNET SERVICE MANAGER
To Make a New Site:
  o RIGHT CLICK ON COMPUTER NAME, CHOOSE NEW WEBSITE
  o A WIZARD WILL OPEN SAYING “ WELCOME TO WEBSITE CREATION WIZARD.
  o CLICK ON NEXT AND WRITE THE DESCRIPTION OF YOUR WEB SITE.
  o CLICK NEXT AND ENTER FOLLOWING ITEMS:

IP ADDRESS TO USE FOR YOUR WEB SITE.
TCP PORT FOR THIS WEB SITE (DEFAULT 80
HOST HEADER FOR THIS SITE (DEFAULT NONE)
  o CLICK NEXT AND PROVIDE THE PATH OF YOUR FOLDER WHERE YOU HAVE STORED YOUR HTML PAGES. (THROUGH BROWSE BUTTON)
  o CHECH / UNCHECK ANONYMOUS ACCESS TO THE WEB SITE
  o CLICK ON THE NEXT BUTTON, IT WILL ASK YOU TO GIVE THE INFORMATION REGARDING “ WEB SITE ACCESS PERMISSION)
  o DIFFERENT OPTIONS ARE AS FOLLOWS:
READ
RUN SCRIPTS (SUCH AS ASP)
EXCUTE (SUCH AS ISAPI APPLICATION OR CGI)
BROWSE
(DON’T SELECT BOTH THE EXCUTE AND WRITE PERMISSION, IT BECOME HAZARDIOUS. SOME HACKERS CAN DO SOME MALFUNCTION OPERATION ON YOUR WEB PAGES WHICH YOU DON’T WANT.)
(EVEN IF YOU SELECT BOTH THE OPTION IIS WILL WARN SOME WHAT LIKE “ SELECTING BOTH WRITE AND EXECUTE PERMISSION COULD BE DANGEROUS, ARE YOU SURE YOU WANT TO SELECT BOTH THESE PERMISSIONS?)
  o AFTER FINISHING IT YOU WILL FIND YOUR WEB SITE WITH THE NAME YOU HAVE PROVIDED IN THE LEFT COLUMN OF IIS.
  o NOW RIGHT CLICK ON YOUR WEBSITE ICON (WHICH YOU HAVE JUST PREPARED IT.) AND SELECT PROPERTIES FROM THE MENU.
  o IN THE PROPERTIES YOU WILL FIND DIFFERENT OPTIONS WHICH YOU CAN CONFIGURE ACCORDING TO YOUR SUITE.
  o SOME IMPORTANT AND NECESSARY CONFIGURATION ARE DESCRIBED HERE:----

A): UNDER WEB SITE COLUMN:--
YOU CAN CHANGE / CONFIGURED YOUR NAME OF THE WEB SITE, IP ADDRESS, TCP PORT, CONNECTION LIMITATIONS, CONNECTION TIME OUT, DISABLING / ENABLING HTTP Keep-Aives Enabled and Enable Logging

B): UNDER OPERATORS COLUMN: YOU CAN ADD DIFFERENT OPERATORS ACCORDING TO YOUR SUITABILITY.

C): UNDER ISAPI COLUMN: ( Since I can imaging you’re dying to know what an ISAPI Extension DLL is, let me explain. You may know a DLL is a Dynamically Linked Library, which is essentially a self-contained code module that any number of applications can draw on. When a web server hosts a dynamic website, page requests must be processed by program code running on the server before the resultant HTML can be sent back to the requesting browser (the client). Now as is the case with CFML performs this processing with the help of its Internet Server Application Programming Interface (ISAPI) EXTENSION DLL. ISAPI allows web requests to be processed through the Web server by a DLL, rather than an EXE, as is the case with Common Gateway Interface (CGI) pages. This approach is advantageous because DLLs are much more efficient, and require far less resources and memory than executables. IIS uses the file extension of a page to determine which DLL should process the request according to the mappings. So I can say that pages ending in ,cfml will be passed by IIS to the CFML DLL (cfml_isapi.dll) for processing.

D): In order to set the permission / security for your users you have one more option. Simply right click the website (which you have just prepared in the IIS) and go to the all task > Permission Wizard. Here you will find the different option for setting security / permission to your users. You can choose the options provide here according to your suitability or need.

IMP NOTES:
1) There is no need to manually add a ISAPI for the Coldfusion application server technology. Because once you installed Coldfusion, The ISAPI is automaticaly set. You can check it in the ISAPI column (under the properties section of your web site which you have just prepared.).

2) You can also check a .dll file which is made by the IIS in the following folder.
My Cmputer > Drive (usually in which you have installed Coldfusion) > Coldfusion > lib > wsconfig.
(Thre may be more than one ISAPI in the ISAPI column of properties. Actually it depends on any other application server installed in your computer. You can set the priority as high or low according to your suite.)

3) If you are using JSP as application server technology, you will have to manually add it. It also depends on which JSP application server you are using. I mean to say there are different JSP application servers in the market as one is provided by Sun and the other one is a macromedia product (Macromedia Jrun). I am using Macromedia Jrun 4.0 for developing JSP pages for my current project. In order to install ISAPI, Macromedia Jrun also provide Web Server Configuration Tool (You can find it under Start > Programs > Macromedia Jrun 4 > Web Server Configuration Tool). Just open this tool and you will find adding / removing optins for different web servers (here besides IIS you will also see the Apache and Netscape Enterprise Server / iplanet). Just choose the web server you are using for your site development. If you are going to choose IIS as application server, you have two option whether to use ISAPI filter or use aplication mappings such as .jsp, .jws or certainly any other. I can not describe the funda behind all these because it takes more time as well as a prior knowledge of JSP. But if you are personally interested in all about these, you can meet me any time.

4) You can also check whether your application server ( may be Coldfusion, Macromedia Jrun or dot Net) is configured with the IIS or not by going your web site properties (right click on your site name in the IIS). Here come to Home Directory Section and click over the Configuratioin button. A new menu will open showing you all the Extensions, Executable paths and verbs.

5) In this section try to find out the extension according to your application server. I mean to say that if you are using Coldfusion application server there must be extension like .cfml, .cfm etc. And if you are using JSP there must be extension like .jsp and also if you are using dot net as application server you will see extension like .asax, .aspx etc. all of these extension ensures your aplication server is successfully installed as well as configured with the IIS.

  a. In the document column add the first page of your site as default dot some extension or index dot some extension by clicking the add button.
  b. Now come to a very interesting part and that is Directory Security. It ensures the web site owner that who can access his / her web site. Simply click the edit button of anonymous access authentication control part of directory Security and add / delete different types of user according to your suitability.
  c. Now go to the custom errors section of property. Here you can easily see the different types of errors defined in the form of some numbers. These are actually HTTP errors.one interesting point which I wouls like to mention here is that you can also build your own error pages instead of custom errors and then can store in the following directory:---
E:\WINNT\help\iisHelp\common\
But one thing you must remember that the name of the file should be same of that the custom error file. You are allowed to change the content according to youe suite, but not the name. in place of file you can also use some URLs
.


PREFACE
ACKNOWLEDGEMENTS
CONTENTS
My Home Page
Reliance
My Home Page
Hosted by www.Geocities.ws

1