x-powered-by header is still sent

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
superdez
Forum Commoner
Posts: 33
Joined: Tue Jul 03, 2007 1:36 pm

x-powered-by header is still sent

Post 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
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Does phpinfo() reflect what you see in the ini file?
superdez
Forum Commoner
Posts: 33
Joined: Tue Jul 03, 2007 1:36 pm

Post by superdez »

I'm sorry i was supposed to be using:

x-httpd-php

NOT

application/x-httpd-php

Thanks!
Post Reply