From:             Ashok dot 893 at gmail dot com
Operating system: Linux
PHP version:      4.4.8
PHP Bug Type:     Apache related
Bug description:  Setting expose_php = Off in php.ini returns X-Powered-By 
header for subdomains

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 bug report at http://bugs.php.net/?id=45136&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45136&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45136&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45136&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45136&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45136&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45136&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45136&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45136&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45136&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45136&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45136&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45136&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45136&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45136&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45136&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45136&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45136&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45136&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45136&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45136&r=mysqlcfg

Reply via email to