www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Morshnev <m...@design.ru>
Subject os-windows/1892: invalid SSI <!--#include virtual="test.pl?something"--> command processing
Date Sun, 01 Mar 1998 15:40:23 GMT

>Number:         1892
>Category:       os-windows
>Synopsis:       invalid SSI <!--#include virtual="test.pl?something"--> command
processing
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Mar  1 07:50:00 PST 1998
>Last-Modified:
>Originator:     moko@design.ru
>Organization:
apache
>Release:        Apache/1.3b3
>Environment:
Any windows system (?).
>Description:
Apache is unable to process <!--#include virtual="test.pl?something"--> command.
This problem is relevant only to Perl scripts. If we change test.pl for DOS/Windows
binary, it works as it should. But I'm sure, this error will appear on any
#!c:\... starting scripts, so Perl itself isn't the problem.
>How-To-Repeat:
Conside the following script:
---------test-cgi.pl----------
#!c:\progra~1\perl\bin\perl.exe
print "Content-type: text/html\n\n";
foreach $key (keys %ENV){
    print "$key - $ENV{$key}<br>\n";
}

and the following HTML
-------test-cgi.html-----------
<h1>test-cgi.pl:</h1>
<!--#include virtual="test-cgi.pl"-->
<hr>
<h1>test-cgi.pl?something:</h1>
<!--#include virtual="test-cgi.pl?something"-->
-------------------------------
The result is like this:
-------------
test-cgi.pl:

SERVER_SOFTWARE - Apache/1.3b3
.......
<skipped>
.......

test-cgi.pl?something:

[an error occurred while processing this directive] 
-------------
Of couse, both includes (with or without ?somehting) work perfectly on Unix.
>Fix:
Sorry, I do not have Apache/Windows sources, but I'm sure this bug is very 
simple and easy to fix
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message