When the php module is installed into apache there is a php_flag and
php_value directive available which could be used to set the value from
within Apache, the only trick is to only have them take effect for
certain remote ips. They would be:
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).
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.
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 ?
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]