php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12529 Redirection fails in ISAPI mode
Submitted: 2001-08-02 05:59 UTC Modified: 2002-05-24 20:22 UTC
From: opj30 at hotmail dot com Assigned:
Status: Not a bug Package: Other web server
PHP Version: 4.0.6 OS: WinNT4 sp6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: opj30 at hotmail dot com
New email:
PHP Version: OS:

 

 [2001-08-02 05:59 UTC] opj30 at hotmail dot com
I use the O'Reilley WebSite Pro webserver under Win NT4 and the compiled PHP 4.0.6 for windows from you. It can be set up to use PHP as a cgi or as isapi or both.

My test for redirection is a one-liner: <? header("Location: redirect_to_this_page.html"); exit; ?> which is called by a link from another page and should make the  redirect_to_this_page.html page to be displayed.

This works when using PHP as a cgi. 
However, when using PHP as isapi I get an error: "Document contains no data..." which means that the redirection fails and the server does not return any data. The results are the same with both IE and Netscape as browsers.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-24 20:22 UTC] derick@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 13:01:29 2024 UTC