Re: .htaccess

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

 



 
YIIIIPPPPPEEEE!....it worked!....thank you Justin!
 
I tried that last time and must of left out something probably a stupid comma or a space....:-)
 
Kriss :-)
 
-------Original Message-------
 
Date: 01/12/2008 21:54:27
Subject: Re: [users@httpd] .htaccess
 
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@xxxxxxxxx>
> /*Date:*/ 01/12/2008 18:27:25
> /*Subject:*/ Re: .htaccess
>
> On Mon, Dec 1, 2008 at 11:46 AM, Kriss <kristina@xxxxxxxxxxxxxxxx
> > 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
>
>
>
 
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
 
 
____________________________________________________________
 
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.12/1822 - Release Date: 12/1/2008 8:23 AM
 
 
No virus found in this outgoing message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.12/1823 - Release Date: 12/1/2008 7:59 PM

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