#45136 [Opn->WFx]: Setting expose_php = Off in php.ini returns X-Powered-By header for subdomains
| From: | jani@php.net | Date: | Fri, 11 Jul 2008 21:46:33 +0000 |
| Subject: | #45136 [Opn->WFx]: Setting expose_php = Off in php.ini returns X-Powered-By header for subdomains | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-126558@lists.php.net to get a copy of this message | ||
ID: 45136
Updated by: jani@php.net
Reported By: Ashok dot 893 at gmail dot com
-Status: Open
+Status: Wont fix
Bug Type: Apache related
Operating System: Linux
PHP Version: 4.4.8
New Comment:
We are sorry, but we can not support PHP 4 related problems anymore.
Momentum is gathering for PHP 6, and we think supporting PHP 4 will
lead to a waste of resources which we want to put into getting PHP 6
ready.
Previous Comments:
------------------------------------------------------------------------
[2008-05-30 08:55:35] Ashok dot 893 at gmail dot com
Description:
------------
I set the expose_php = Off in php.ini file and restarted the apache
server. When I check the response headers for my site, server doesn't
return the 'X-Powered-By' header. But when I check the response headers
for subdomains, it returns the 'X-Powered-By' header.
Reproduce code:
---------------
I've kept only html codes in both index.php files(my domain and
subdomain home page)
Expected result:
----------------
Response Headers
Date Fri, 30 May 2008 07:26:52 GMT
Server Apache/1.3.39 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2
mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.30 OpenSSL/0.9.7a
Last-Modified Sat, 29 Dec 2007 07:36:29 GMT
Etag "44c015-1d89-4775f8fd"
Accept-Ranges bytes
Content-Length 7561
Keep-Alive timeout=8, max=100
Connection Keep-Alive
Content-Type text/html
Actual result:
--------------
Response Headers
Date Fri, 30 May 2008 07:25:12 GMT
Server Apache/1.3.39 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2
mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.30 OpenSSL/0.9.7a
Cache-Control no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Expires Thu, 19 Nov 1981 08:52:00 GMT
Pragma no-cache
X-Powered-By PHP/4.4.8
Keep-Alive timeout=8, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45136&edit=1