Bug #15159: apache chush and write when i use header('') function;

From: Date: Tue, 22 Jan 2002 10:47:17 +0000
Subject: Bug #15159: apache chush and write when i use header('') function;
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-8270@lists.php.net to get a copy of this message
From:             kostia@obninsk.com
Operating system: linux 2.2.16-20
PHP version:      4.1.1
PHP Bug Type:     Website problem
Bug description:  apache chush and write when i use header('') function;

function DoAuthorise(){
    header( "WWW-Authenticate: Basic realm=\"Catalog Administaror Login\""
);
    header( "HTTP/1.0 401 Unauthorized" );
    echo "Authorization require";
    exit;
}

this is not work in php 4.1.1 !!! 
Apache log:  [notice] child pid 6527 exit signal Segmentation fault (11)

When i comment all header invocation  all fine
my apache configuration:

Apache/1.3.12 (Unix)  (Red Hat/Linux) mod_ssl/2.6.6 OpenSSL/0.9.5a
PHP/4.1.1 mod_perl/1.24

when a change my php module to previous version 4.0.6 
the code above work OK! 
-- 
Edit bug report at: http://bugs.php.net/?id=15159&edit=1



Thread (1 message)

  • kostia at obninsk dot com
« previous php.mirrors (#8270) next »