httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Pasher <just...@newmediagateway.com>
Subject Re: [users@httpd] .htaccess
Date Mon, 01 Dec 2008 21:53:19 GMT
Kriss wrote:
>  
> This is what the file says....
>  
> Order Deny,Allow
> Deny from 80.41.61.248
> RewriteEngine on
> RewriteCond %{HTTP_REFERER} fillbest\.com [NC]
> RewriteRule .* - [F]
>  
> and the file is in the folder before the public_html one...I think you 
> can tell I really am technical...LOL and the one I want to add is 
> seedmain.com.
>  
> If you can help it would be a big help as I have had 250 hits from 
> these guys last month!
>  
>

You need to chain together the RewriteCond directives with an [OR]

RewriteCond %{HTTP_REFERER} fillbest\.com [NC,OR]
RewriteCond %{HTTP_REFERER} seedmain\.com [NC]
RewriteRule .* - [F]

Justin Pasher

> /-------Original Message-------/
>  
> /*From:*/ Eric Covener <mailto:covener@gmail.com>
> /*Date:*/ 01/12/2008 18:27:25
> /*To:*/ users@httpd.apache.org <mailto:users@httpd.apache.org>
> /*Subject:*/ Re: [users@httpd] .htaccess
>  
> On Mon, Dec 1, 2008 at 11:46 AM, Kriss <kristina@nikkershaw.me.uk 
> <mailto:kristina@nikkershaw.me.uk>> wrote:
> > Hi guys
> >
> > I am probably not talking to the right people at all but I am at the 
> end of
> > my tether on where to go....I have updated my htaccess to ban a URL from
> > using my bandwidth the problem is that I need to ban another one so 
> I did
> > what I thought I was supposed to do and all of my scripts on the website
> > stopped working....ooops.
>  
> What's the content of your htacess file, where is it in you
> filesystem, and what URL were you trying to prevent from loading?
>  
> --
> Eric Covener
> covener@gmail.com <mailto:covener@gmail.com>
>
> 	
>

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message