Re: [users@httpd] RewriteEngine conditions?

2014-08-07 Thread Walter H.
On 07.08.2014 15:48, Igor Cicimov wrote: On 07/08/2014 2:47 PM, "Mark jensen" > wrote: > > I want to redirect all the inside network IPs to an error page except some IPs, A condition like this: > > if ( IP_from_Network = 192.168.1.0 and ((IP != 192.168.1.4) or (I

RE: [users@httpd] RewriteEngine conditions?

2014-08-07 Thread Mark jensen
I have tried use what you just suggest:    RewriteCond   %{REMOTE_ADDR}   ^192\.168\.1\.*$   RewriteCond   %{REMOTE_ADDR}   !^192\.168\.1\.4$   RewriteCond   %{REMOTE_ADDR}   !^192\.168\.1\.5$   RewriteCond   %{REMOTE_ADDR}   !^192\.168\.1\.6$ But it didn't work.

Re: [users@httpd] RewriteEngine conditions?

2014-08-07 Thread Igor Cicimov
On 07/08/2014 2:47 PM, "Mark jensen" wrote: > > I want to redirect all the inside network IPs to an error page except some IPs, A condition like this: > > if ( IP_from_Network = 192.168.1.0 and ((IP != 192.168.1.4) or (IP != 192.168.1.5) or (IP != 192.168.1.6)) ) > { > redirect to an error page >

[users@httpd] RewriteEngine conditions?

2014-08-06 Thread Mark jensen
I want to redirect all the inside network IPs to an error page except some IPs, A condition like this: if ( IP_from_Network = 192.168.1.0 and ((IP != 192.168.1.4) or (IP != 192.168.1.5) or (IP != 192.168.1.6)) ) { redirect to an error page } so I' trying to achieve this using RewriteEngine:  R

Re: [users@httpd] RewriteEngine

2014-02-12 Thread Eric K. Dickinson
Thank you Unfortunately not available for our architecture. I will keep plugging. eric On 02/10/2014 09:13 PM, Michael Streeter wrote: On 2/10/2014 8:04 AM, Eric K. Dickinson wrote: Thank you very much. I gave it a go... Still no Joy, the attempts at directory recursion still end up in t

Re: [users@httpd] RewriteEngine

2014-02-10 Thread Michael Streeter
On 2/10/2014 8:04 AM, Eric K. Dickinson wrote: Thank you very much. I gave it a go... Still no Joy, the attempts at directory recursion still end up in the access log... More reading. eric Sorry to hear that. A couple of things that help me, and may help in your troubleshooting are: 1) Tur

Re: [users@httpd] RewriteEngine

2014-02-10 Thread Eric K. Dickinson
Thank you very much. I gave it a go... Still no Joy, the attempts at directory recursion still end up in the access log... More reading. eric On 02/07/2014 10:31 AM, Michael Streeter wrote: On 1/28/2014 10:09 AM, Eric K. Dickinson wrote: Good Morning. We have a bunch of WordPress sites. We

Re: [users@httpd] RewriteEngine

2014-02-07 Thread Michael Streeter
On 1/28/2014 10:09 AM, Eric K. Dickinson wrote: Good Morning. We have a bunch of WordPress sites. We also have a requirement to be scanned by Nessus and AppScan. This drives the caching on WordPress nuts. I have been able to significantly reduce this with a ReWriteRule. RewriteEngine on Rewrit

[users@httpd] RewriteEngine

2014-01-28 Thread Eric K. Dickinson
Good Morning. We have a bunch of WordPress sites. We also have a requirement to be scanned by Nessus and AppScan. This drives the caching on WordPress nuts. I have been able to significantly reduce this with a ReWriteRule. RewriteEngine on RewriteRule .*\.(dll|ini|exe|com)$ - [R=404,NC] Rewrite