>Number: 2062 >Category: mod_include >Synopsis: include virtual does not work properly with cgi scripts >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Apr 14 10:20:00 PDT 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3b5 >Environment: O/S : NEXTSTEP 3.3 compiler : gcc >Description: When using "#include virtual" to include the contents of a cgi script the SCRIPT_NAME environment variable contains extraneous information if the path to the script contains extra information. >How-To-Repeat: e.g. try <!--#include virtual="/cgi-bin/test-cgi/123" --> The SCRIPT_NAME environment variable becomes /cgi-bin/test-cgi/123 rather than /cgi-bin/test-cgi which is what we expect. Accessing /cgi-bin/test-cgi/123 produces the expected results. >Fix:
>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. ]
