#35209 [Opn->Fbk]: X-Powered-By: PHP/4.4.1 is visible with expose_php=off
| From: | tony2001@php.net | Date: | Sun, 13 Nov 2005 23:35:08 +0000 |
| Subject: | #35209 [Opn->Fbk]: X-Powered-By: PHP/4.4.1 is visible with expose_php=off | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88118@lists.php.net to get a copy of this message | ||
ID: 35209
Updated by: tony2001@php.net
Reported By: ghost777ghost at hotmail dot com
-Status: Open
+Status: Feedback
Bug Type: Apache related
Operating System: Trustix 2.2
PHP Version: 4.4.1
New Comment:
Please check phpinfo() output and the value of expose_php there.
Previous Comments:
------------------------------------------------------------------------
[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