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
>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
>Originator:     moko@design.ru
>Release:        Apache/1.3b3
Any windows system (?).
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.
Conside the following script:
print "Content-type: text/html\n\n";
foreach $key (keys %ENV){
    print "$key - $ENV{$key}<br>\n";

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

SERVER_SOFTWARE - Apache/1.3b3


[an error occurred while processing this directive] 
Of couse, both includes (with or without ?somehting) work perfectly on Unix.
Sorry, I do not have Apache/Windows sources, but I'm sure this bug is very 
simple and easy to fix
[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. ]

View raw message