Use ASP to control the parsing script language functions of specified sites Function adminaegis (computer, sitenum) Set iiswebserviceobj = GetObject ("IIS: //" & Computer & "/w3svc/" & sitenum) Dim Aegis (1) Aegis (0) = ". asp, C:/winnt/system32/inetsrv/asp. dll, 5, get, Head, post, trace" 'Aegis (1) = ". aspx, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 1, get, Head, post, debug" 'Use the same format as Aegis (Num) = "" to parse other files. Remember to define dim Aegis (Num ). '. HTW, C:/winnt/system32/webhits. dll, 3, get, Head, post '. Ida, C:/winnt/system32/idq. dll, 7, get, Head, post '. Idq, C:/winnt/system32/idq. dll, 7, get, Head, post '. Asp, C:/winnt/system32/inetsrv/asp. dll, 5, get, Head, post, trace '. CER, C:/winnt/system32/inetsrv/asp. dll, 5, get, Head, post, trace '. CDX, C:/winnt/system32/inetsrv/asp. dll, 5, get, Head, post, trace '. Asa, C:/winnt/system32/inetsrv/asp. dll, 5, get, Head, post, trace '. IDC, C:/winnt/system32/inetsrv/httpodbc. dll, 5, get, post <br> '. Shtm C:/winnt/system32/inetsrv/ssinc. dll, 5, get, post <br> '.Shtml C:/winnt/system32/inetsrv/ssinc. dll, 5, get, post <br> '. Stm C:/winnt/system32/inetsrv/ssinc. dll, 5, get, post <br> '. Asax C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 5, get, Head, post, debug '. Ascx, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 5, get, Head, post, debug '. Ashx, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 1, get, Head, post, debug '. Asmx, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 1, get, Head, post, debug '. Aspx, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 1, get, Head, post, debug '. Axd, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 1, get, Head, post, debug '. Vsdisco, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 1, get, Head, post, debug '. REM, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 1, get, Head, post, debug '. Soap, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 1, get, Head, post, debug '. Config, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 5, get, Head, post, debug '. CS, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 5, get, Head, post, debug '. Csproj, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 5, get, Head, post, debug '. VB, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 5, get, Head, post, debug '. Vbproj, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 5, get, Head, post, debug '. Webinfo, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 5, get, Head, post, debug '. Licx, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 5, get, Head, post, debug '. Resx, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 5, get, Head, post, debug '. Resources, C:/winnt/Microsoft. NET/framework/v1.1.4322/aspnet_isapi.dll, 5, get, Head, post, debug Iiswebserviceobj. scriptmaps = Aegis Iiswebserviceobj. setinfo 'Show supported scripting languages Response. Write "Resolution list supported by current site: <br>" For valueindex = 0 to ubound (iiswebserviceobj. scriptmaps) Response. Write iiswebserviceobj. Get ("scriptmaps") (valueindex) Response. Write "<br>" Next End Function |