User’s Guide – version 1.6 NetWatch
44
Appendix B: NetWatch And IIS
NetWatch can be configured to use IIS as its default web server. To achieve
this the following instructions must be completed. We strongly recommend that, if
the IIS server is to be accessible from the internet, that all service packs and
security patches are applied before
making the server available. For more
information see http://support.microsoft.com
1. Install IIS.
2. Stop Tomcat Service
3. Change the tomcat port to 8080 if it’s running on port 80.
Open /tomcat/conf/server.xml and look for the ‘Normal HTTP’ section a change the
port parameter from 80 to 8080.
4. Double-click isapi_redirect_nt.reg(if you are running NT) or isapi_redirect_200.reg
( if you are running W2K) to import the extra configuration information into your
registry. These files can be found in the following folder: - c:\NetWatch\tomcat.
5. Open IIS management console and create a new virtual directory called "jakarta"
and make the physical path "C:\Tomcat\bin". Make sure that this virtual directory has
"Execute" permissions.
6. In the IIS Management Console right-click on your machine name (not the root
web) and select properties. Click the Edit button next to the "Master Properties" for
the WWW Service. Select the "ISAPI Filters" tab and click "Add” Name the filter
"jakarta" and for the executable, browse to C:\NetWatch\Tomcat\bin\isapi_redirect.dll
file.
7. Now go to the control panel, select Services and restart the IIS Admin service
(make sure Word Wide Web Publishing Service restarts as well). After you have
restarted, go back to the ISAPI filters screen and make sure that the jakarta filter has a
green arrow next to it. If it does, then everything is working.
8. In the IIS Management Console right-click on your web root and select properties.
Now go to the Home Directory tab. Set the local path to
c:\NetWatch\tomcat\webapps.
9. In the IIS Management Console right-click on your web root and select properties.
Now go to the Directory Security tab. Click the edit button. Now uncheck the
‘Integrated windows authentication’ checkbox.
10. Restart the tomcat service.