>Number: 4275 >Category: os-windows >Synopsis: filename associations cause script source code to be returned >from GET's (sometimes) >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Apr 20 06:10:01 PDT 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3 >Environment: NT Server SP 3 >Description: If you install the latest Perl for Win32, it lets you set up filename associations for .pl files. Do this, and instead of defining a ScriptAlias, use AddHandler to add a cgi-script handler for .pl files. Your scripts should execute fine, unless you append a GET query to them (as short as just a "?"). In that case, the source code of your script is returned.
This also appears to happen when you add a ScriptAlias. >How-To-Repeat: >Fix: A workaround is to remove the association for .pl files. >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. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]