ID:               35209
 User updated by:  ghost777ghost at hotmail dot com
 Reported By:      ghost777ghost at hotmail dot com
 Status:           Open
 Bug Type:         Apache related
 Operating System: Trustix 2.2
 PHP Version:      4.4.1
 New Comment:

And problem was solved.

'--prefix=/usr/local/php' sends php.ini to '/usr/local/php/lib'

I did a 'cp php.ini-dist /usr/local/lib/php.ini'

Anyway:
HEAD / HTTP/1.0

HTTP/1.1 200 OK
Date: Mon, 14 Nov 2005 08:29:38 GMT
Server: Apache
Connection: close
Content-Type: text/html

I am very sorry for reporting a bogus and using your 
valuable time as support. This was not my intention. Thank 
you for all help, and keep up your great work - we all love php;)


Previous Comments:
------------------------------------------------------------------------

[2005-11-14 09:16:14] [EMAIL PROTECTED]

Please check which php.ini file is in use (with phpinfo()) and verify
you changed expose_php in that file (restart apache)

------------------------------------------------------------------------

[2005-11-14 09:04:07] ghost777ghost at hotmail dot com

phpinfo() shows expose_php On 
in both Local Value and Master Value.

------------------------------------------------------------------------

[2005-11-14 00:35:07] [EMAIL PROTECTED]

Please check phpinfo() output and the value of expose_php there.

------------------------------------------------------------------------

[2005-11-13 23:41:01] ghost777ghost at hotmail dot com

Description:
------------
I have compiled php 4.4.1, with apache 1.3.34 on a trustix secure linux
2.2. I can not get X-Powered-By header,
nor built-in Easter-eggs to disappear. 

expose_php = Off is set in php.ini

(expose_php = 0 behaves the same)


This is the output of a head-request:
........................................
HEAD / HTTP/1.0

HTTP/1.1 200 OK
Date: Sun, 13 Nov 2005 22:11:49 GMT
Server: Apache
X-Powered-By: PHP/4.4.1
Connection: close
Content-Type: text/html
........................................


compilation:

./configure --prefix=/usr/local/php --enable-memory-limit
--enable-magic-quotes --enable-sockets --with-openssl
--enable-force-cgi-redirect --enable-safe-mode
--with-apache=/somedir/apache_1.3.34


Easter-egg:
?=PHPE9568F36-D428-11d2-A769-00AA001ACF42

I have php 4.4.0 with apache 1.3.33 on another trustix 2.2, and this
setup responds to changes in expose_php, and it 
does not show X-Powered-By.

I will greatly appreciate any productive feedback to disable the
exposure of php.


Best wishes from ghost







------------------------------------------------------------------------


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

Reply via email to