From:             [EMAIL PROTECTED]
Operating system: RedHat 7.3
PHP version:      4.2.3
PHP Bug Type:     Apache related
Bug description:  $_SERVER['QUERY_STRING'] not set on 404 redirect


$_SERVER['QUERY_STRING'] is empty in our 404-handling script, which is
displayed when the user's URL is not found.  The query string appears
correctly in REQUEST_URI, so the data is there, it's just not getting into
the QUERY_STRING var.

Here are some dumps of the $_SERVER array, for an existing script, and a
bad URL that displays the 404 script:

(user: bugzilla; Pass: bugzz)

http://clewis.myfonts.com/exists.php?stuff=things
http://clewis.myfonts.com/notexist.php?stuff=things


Using Apache 1.3.26, PHP 4.2.3, configured with
'./configure' '--prefix=/usr/local' '--with-apache=../apache'
'--with-mysql=/usr/local' '--with-curl' '--with-gd' '--with-mcrypt'
'--with-pspell' '--enable-apc' '--with-zlib'

-Chris

-- 
Edit bug report at http://bugs.php.net/?id=20453&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20453&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20453&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20453&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20453&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20453&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20453&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20453&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20453&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20453&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20453&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20453&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20453&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20453&r=isapi

Reply via email to