logoalt Hacker News

LZ2DMV • yesterday at 10:20 PM • 1 reply • view on HN

So expose_php is On and he filters X-Powered-By in the response when legal HTTP verbs are used, but nothing catches the illegal ones? Interesting.


Replies

randomblock1 • yesterday at 10:40 PM

No, PHP's static handler (php_cli_server_begin_send_static) doesn't emit X-Powered-By but the error page handler (php_cli_server_send_error_page) always does.