Page 1 of 1

x-powered-by header is still sent

Posted: Thu Jul 12, 2007 2:53 am
by superdez
I just started parsing extensionless files as PHP with the following lines in .htaccess and php.ini but the x-powered-by header is now being sent. Any ideas why ?


.htaccess:

AddHandler x-httpd-php .html

<Files ~ "^[^\.]+$">
SetHandler application/x-httpd-php
</Files>

php.ini:

expose_php = Off

Posted: Thu Jul 12, 2007 3:23 am
by Chris Corbyn
Does phpinfo() reflect what you see in the ini file?

Posted: Thu Jul 12, 2007 3:29 am
by superdez
I'm sorry i was supposed to be using:

x-httpd-php

NOT

application/x-httpd-php

Thanks!