The instructions at this website are provided by New Atlanta Communications.
In addition to these instructions, Esri provides its own steps for installation and configuration of ServletExec and ArcIMS.
For ServletExec 4.1.1 ISAPI on Windows and ArcIMS 4.0.1 click here.
For ServletExec 4.2 ISAPI on Windows and ArcIMS 4.0.1 click here.
A listing of all such Esri knowledge base articles can be found here.