Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 83662 invoked from network); 7 Oct 2003 18:09:51 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Oct 2003 18:09:51 -0000 Received: (qmail 78035 invoked by uid 500); 7 Oct 2003 18:08:45 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 78002 invoked by uid 500); 7 Oct 2003 18:08:45 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 77966 invoked from network); 7 Oct 2003 18:08:44 -0000 Received: from unknown (HELO harrier.mail.pas.earthlink.net) (207.217.120.12) by daedalus.apache.org with SMTP; 7 Oct 2003 18:08:44 -0000 Received: from dialup-67.30.19.195.dial1.dallas1.level3.net ([67.30.19.195] helo=RUFF01) by harrier.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 1A6wGN-0002S2-00 for users@httpd.apache.org; Tue, 07 Oct 2003 11:08:48 -0700 Message-ID: <006501c38cfe$0e97ff50$c3131e43@RUFF01> From: "Jeff White" To: References: <200310021620.h92GJx3J093121@chip.frukt.org> <200310061408560328.199C633D@127.0.0.1> Date: Tue, 7 Oct 2003 13:04:03 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Apache very slow on Windows 2000 X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N From: "Harry Sufehmi" > I even reinstalled this workstation, > and still no change. Windows has many wonderful built-in actions to accomplish what you seem to want to do but you have not explained it clear enough and with enough "facts", file types, file sizes, headers, network settings,netmon dumps, browser settings, and etc. in order for others to really help you. Try showing the results of some VBScript Windows Scripting scripts that provide lots of the above settings information while running Apache on Windows. Examples: Now one can find the various "settings" of Windows OS "actions" for use with Apache on Windows web server with programs written with the free compilers via the built-in .NET Frameworks You can download the entire .Net SDK for free from the Microsoft web site, here is the download URL: .NET Framework SDK Version 1.1 http://www.microsoft.com/downloads/details.aspx?FamilyId=9B3A2CA6-3647-4070-9F41-A333C6B9181D&displaylang=en or with scripts via the built-in Windows Script Host (WSH). With either product, .NET Frameworks or Windows Script Host, use the language of your desire (.NET Frameworks has over 45+ computer languages available). Since not all (yet) Apache on Windows web server admins have the free .NET Frameworks CSharp compiler and since all Apache on Windows web server users have VBScript built-in, and VBScript is so easy to use and follow along with, lots of people always use VBScript for examples (and everyday usage). But one may also use Perl, JScript, Ruby and others such scripting languages with the Windows Script Host too. Anyway all the users of Apache on Windows web servers already have available to them two built-in scripting languages, VBScript and JScript, accessible via the built-in Windows Script Host(s) of Cscript.exe for CUI command prompt window type usage and Wscript.exe for GUI Windows MsgBox dialog type usage or even a combination of Cscript.exe CUI also displaying GUI dialogs. Example: Save the below VBScript language script file as ShowVer.vbs into any folder. '* Start of file. strWorker = "Running Windows Script Host " _ & Wscript.Version & vbCrLf _ & "using " & GetScriptEngineInfo() Wscript.Echo strWorker Wscript.Quit Function GetScriptEngineInfo() Dim s '* Build the version string. s = "" s = s & ScriptEngine() & " Version " s = s & ScriptEngineMajorVersion() & "." s = s & ScriptEngineMinorVersion() & "." s = s & ScriptEngineBuildVersion() GetScriptEngineInfo = s End Function '* End of file. After saving the above file ShowVer.vbs into any folder, then in a command prompt window changed to the same folder that ShowVer.vbs was saved into, then for CUI usage type: cscript.exe ShowVer.vbs Then in a command prompt window for GUI usage type: wscript.exe ShowVer.vbs If your Windows Scripting files are up to date ShowVer.vbs returns: Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. Running Windows Script Host 5.6 using VBScript Version 5.6.8515 in the command prompt CUI cscript.exe window and in the GUI Wscript.exe MsgBox dialog type window. For upgrades and/or to install on older OS versions. Windows Script Host 5.6 download http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en And for CHM Compiled HTML Help File Windows Script Host 5.6 documentation download http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en Now that you see the main difference between the two Windows Script hosts, Cscript.exe and Wscript.exe, let's move on to listing examples of your needs in Windows Scripting using VBScript. Networking http://www.microsoft.com/technet/scriptcenter/network/default.asp Enumerating Network Adapter Configuration Properties http://www.microsoft.com/technet/scriptcenter/network/scrnet12.asp Set the TCP Window Size for All Network Adapters http://www.microsoft.com/technet/scriptcenter/network/scnet135.asp And of course, try the other networking links available under Networking (or any subject) for the other VBScript Window Scripting scripts available in the left side menus. Monitoring Processes Services Logs etc. After you learn how to use the above VBScript scripts then try Windows Scripting with more Windows Management Instrumentation (WMI) classes like the Performance Counter Classes too! Windows XP and up can use the newer Win32_PerfFormattedData class types, where as Windows 2000 must use the old Win32_PerfRawData classes and use "two takes" of the classes and then do the "compare math" themselves. Win32_PerfRawData_PerfNet_Redirector http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_perfrawdata_perfnet_redirector.asp Win32_PerfRawData_Tcpip_TCP http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_perfrawdata_tcpip_tcp.asp For more help with Windows Scripting: Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter This book is designed to teach you basic concepts underlying Microsoft scripting technologies such as Microsoft Visual Basic Scripting Edition (VBScript), Windows Script Host (WSH), Active Directory Service Interfaces (ADSI), and Windows Management Instrumentation (WMI). Windows 2000 Scripting Guide Microsoft Windows 2000 Scripting Guide http://www.microsoft.com/technet/scriptcenter/scrguide/sagsas_overview.asp This help file contains all the scripts found in the TechNet Script Center. CHM Compiled HTML Help File TechNet Script Center Sample Scripts http://www.microsoft.com/downloads/release.asp?ReleaseID=38942 Contains complete documentation for JScript, VBScript, Windows Script Host, Windows Script Components, Remote Scripting, Script Control, and Script Debugger. CHM Compiled HTML Help File Windows Script Host (WSH) 5.6 documentation http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en Jeff --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org