Here is a snippet in my htaccess. I know the htaccess file is getting touched because I’ve got some AuthType action in it and that’s working properly.
php_flag display_errors off
php_flag display_startup_errors off
I’m trying to make sure that files in my wordpress distribution don’t display errors when people are ‘hunting’ for some clues to my directory layout.
This doesn’t work because I do a phpinfo() on a file that I’m testing and I see that the display_errors aren’t off.