[PHP-DEV] Bug #13035 Updated: 404 on a .php results in SERVER ERROR when using php as a cgi

2002-01-17 Thread sbeam

ID: 13035
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: Apache related
Operating System: Linux 2.4.6
PHP Version: 4.0.6
New Comment:

I dont know. I dont have 4.1.1 compiled as a CGI anywhere, won't have
time to do it and test it until next week probably.


Previous Comments:


[2002-01-12 14:46:54] [EMAIL PROTECTED]

Is still still valid with latest apache and php?



[2001-08-29 12:12:13] [EMAIL PROTECTED]


If PHP is used as a CGI program via:
Action php-script /cgi-bin/php
AddHandler php-script .php .php3

any .php page which is not found results in 500 SERVER ERROR in the
browser instead of 404 NOT FOUND. The php binary is returning nothing
in its response to this situation.

To wit:

The Apache error_log reports Premature end of script headers

The script_log (enabled with Apache's ScriptLog directive) reports:
%% [Wed Aug 29 12:09:58 2001] GET /cgi-bin/php/nothere.php HTTP/1.0
%% 500 /usr/local/httpd/cgi-bin/php
%request
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png,
*/*
Accept-Charset: iso-8859-1,*,utf-8
Accept-Encoding: gzip
Accept-Language: en
Connection: Keep-Alive
Host: localhost
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.6 i686)
%response


###
php was compiled with './configure' '--with-mysql=/usr' '--with-gd'
'--with-imagick'   
'--enable-discard-path' '--enable-force-cgi-redirect'







Edit this bug report at http://bugs.php.net/?id=13035edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13035 Updated: 404 on a .php results in SERVER ERROR when using php as a cgi

2002-01-12 Thread lobbin

ID: 13035
Updated by: lobbin
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Apache related
Operating System: Linux 2.4.6
PHP Version: 4.0.6
New Comment:

Is still still valid with latest apache and php?


Previous Comments:


[2001-08-29 12:12:13] [EMAIL PROTECTED]


If PHP is used as a CGI program via:
Action php-script /cgi-bin/php
AddHandler php-script .php .php3

any .php page which is not found results in 500 SERVER ERROR in the
browser instead of 404 NOT FOUND. The php binary is returning nothing
in its response to this situation.

To wit:

The Apache error_log reports Premature end of script headers

The script_log (enabled with Apache's ScriptLog directive) reports:
%% [Wed Aug 29 12:09:58 2001] GET /cgi-bin/php/nothere.php HTTP/1.0
%% 500 /usr/local/httpd/cgi-bin/php
%request
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png,
*/*
Accept-Charset: iso-8859-1,*,utf-8
Accept-Encoding: gzip
Accept-Language: en
Connection: Keep-Alive
Host: localhost
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.6 i686)
%response


###
php was compiled with './configure' '--with-mysql=/usr' '--with-gd'
'--with-imagick'   
'--enable-discard-path' '--enable-force-cgi-redirect'







Edit this bug report at http://bugs.php.net/?id=13035edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]