Edit report at http://bugs.php.net/bug.php?id=45136&edit=1
ID: 45136 Comment by: rrrrrrrrr at df dot fg Reported by: Ashok dot 893 at gmail dot com Summary: Setting expose_php = Off in php.ini returns X-Powered-By header for subdomains Status: Wont fix Type: Bug Package: Apache related Operating System: Linux PHP Version: 4.4.8 Block user comment: N Private report: N New Comment: etu rui ri ty Previous Comments: ------------------------------------------------------------------------ [2008-07-11 21:46:33] j...@php.net 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. ------------------------------------------------------------------------ [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/bug.php?id=45136&edit=1