php_flag display_errors On php_flag display_startup_errors On André Warnier wrote:
Clint Priest wrote:Well more specifically with php its a security risk to enable display_errors and display_startup_errors and so I'm looking for a way to enable those features (before php executes and thus within apache) for only certain remote ip addresses (the developer boxes).Being a perl-guy and not being a php-guy myself, I have no idea what are the conditions in which these errors occur, and what one would need to do to avoid them appearing. Basically, you seem to say that you can disable this feature for everyone as standard, and turn it on selectively for a few. How do you do that exactly ? (assuming you have not yet a "dynamic" way of doing it, how would you enable this statically ? Would that be, for example, by adding an Apache directive to the <Location> being accessed ?Do you know of a perl add-on that could do that? I'm not a perl programmer but if I found some good examples I could probably modify something to get it to work properly.---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx