Re: Re: ezmlm response

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



so in my case should it be:
 
RewriteCond %{REQUEST_METHOD} ^GET [AND]
RewriteCond %{QUERY_STRING} ^$
RewriteRule .* - [F]

 
On 5/27/08, Eric Covener <covener@xxxxxxxxx> wrote:
On Tue, May 27, 2008 at 2:00 AM, Mohit Anchlia <mohitanchlia@xxxxxxxxx> wrote:
> Hi,
>
> We are running Apache web server 1.3. I have a request to block requests
> that are of type "GET" with no query string before it's passed to our web
> server. I understand that in Apache 2.0 there is a concept of filters. Could
> somebody help me with various options I have on my hand to block such
> request with "GET" and no query string.
>

Filter not necessary:

RewriteCond %{QUERY_STRING} ^$
RewriteRule .* - [F]



--
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux