Re: [EMAIL PROTECTED] Conditional Blocks based upon Remote IP Address

2008-10-21 Thread André Warnier
Torsten Foertsch wrote: On Tue 21 Oct 2008, Clint Priest wrote: 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. The

Re: [EMAIL PROTECTED] Conditional Blocks based upon Remote IP Address

2008-10-21 Thread Torsten Foertsch
On Tue 21 Oct 2008, Clint Priest wrote: > 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

Re: [EMAIL PROTECTED] Conditional Blocks based upon Remote IP Address

2008-10-21 Thread Clint Priest
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_startu

Re: [EMAIL PROTECTED] Conditional Blocks based upon Remote IP Address

2008-10-21 Thread André Warnier
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 kno

Re: [EMAIL PROTECTED] Conditional Blocks based upon Remote IP Address

2008-10-21 Thread Clint Priest
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 th

Re: [EMAIL PROTECTED] Conditional Blocks based upon Remote IP Address

2008-10-21 Thread André Warnier
Clint Priest wrote: Clint Priest wrote: Is there any way to have some directives apply only to certain remote ip addresses? I would like to enable a few things only for a certain set of IP addresses. Apart from the answers you already got, you should have a look at SetEnvIf. This will set a

Re: [EMAIL PROTECTED] Conditional Blocks based upon Remote IP Address

2008-10-20 Thread Clint Priest
Thanks for the detailed options, awesome. The #2 option, is that coming in an upcoming release or is that 3.0? Any idea when that might be available? Nick Kew wrote: Clint Priest wrote: Is there any way to have some directives apply only to certain remote ip addresses?  I would like

Re: [EMAIL PROTECTED] Conditional Blocks based upon Remote IP Address

2008-10-20 Thread Nick Kew
Clint Priest wrote: Is there any way to have some directives apply only to certain remote ip addresses? I would like to enable a few things only for a certain set of IP addresses. Answer 1 (simple): no. Answer 2 (FWIW): yes, but not in any stable release. In the trunk version of apache, you

[EMAIL PROTECTED] Conditional Blocks based upon Remote IP Address

2008-10-20 Thread Clint Priest
Is there any way to have some directives apply only to certain remote ip addresses? I would like to enable a few things only for a certain set of IP addresses. Thanks, -Clint - The official User-To-User support forum of the