>Number: 2146 >Category: os-windows >Synopsis: Win32 release doesn't execute .cmd command line skripts as CGI >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Apr 28 06:30:00 PDT 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: all 1.3 betas >Environment: Windows NT 4.0 Workstation SP 3 Binary relase or VC++ 5.0 compiled >Description: Apache Win32 release doesn't execute any cgi-sripts which have .cmd extension. .cmd is a native command line skript file for WinNT. Win95 and MS-DOS uses .bat extension. WinNT can handle .bat files ok, so the quick fix is to rename any cmd to bat. >How-To-Repeat: Try to execute any cgi-skript with .cmd extension on NT server. >Fix: Add line: !strcasecmp(dot, ".CMD") || to main/util_scipt.c (line 731 or something...) >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]
