You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/12/17 01:58:34 UTC

DO NOT REPLY [Bug 15423] New: - mod_include stops processing if included script issues a redirect

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15423>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15423

mod_include stops processing if included script issues a redirect

           Summary: mod_include stops processing if included script issues a
                    redirect
           Product: Apache httpd-2.0
           Version: 2.0.43
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_include
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: koreth-apache@midwinter.com


If I have the following .shtml file:

<!--#include virtual="/cgi-bin/redir" --> Got to end!

And /cgi-bin/redir is a script like:

#!/bin/sh
echo 'Location: /foo.html'
echo ''

Then I'll see the contents of foo.html, but not the "Got to end" message.  This
works fine in Apache 1.x.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org