so in my case should it be: RewriteCond %{REQUEST_METHOD} ^GET [AND] RewriteCond %{QUERY_STRING} ^$ RewriteRule .* - [F]
On 5/27/08, Eric Covener <[EMAIL PROTECTED]> wrote: > > On Tue, May 27, 2008 at 2:00 AM, Mohit Anchlia <[EMAIL PROTECTED]> > 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 > [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] > >