homepage Welcome to WebmasterWorld Guest from 54.161.166.171
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
How do I ban this site?
.htaccess question
keyplyr




msg:1497436
 1:06 am on Oct 14, 2003 (gmt 0)

A server/website(?) is in the process of copying my pages and files. They are in this process right now. Everytime I access their directory, I see mor of my pages/files copied. How do I stop them from accessing my site?

This is the site: [62.1X6.106.86...]

I've tried this, but it doesn't work:

SetEnvIf Remote_Host [62\.1X6\.106\.86...] ban
<Files *>
order deny,allow
deny from env=ban
</Files>

<added>
My 'no linking code' is working, but as they make progress in copying the images, it is becoming useless. I want to make it so when they try to access one of the pages they've captured, they get a forbidden.

[edited by: DaveAtIFG at 6:52 am (utc) on Oct. 14, 2003]
[edit reason] Anonymized IPs [/edit]

 

jdMorgan




msg:1497437
 1:35 am on Oct 14, 2003 (gmt 0)

Have you tried this?

SetEnvIf Remote_Addr ^62\.1X6\.106\.86$ ban

Also, some members here have reported problems when multiple "allow,deny" sections are present in an .htaccess file; If possible, integrate the actual deny that references the "ban" variable with any pre-existing section.

Jim

[edited by: DaveAtIFG at 6:52 am (utc) on Oct. 14, 2003]

keyplyr




msg:1497438
 1:47 am on Oct 14, 2003 (gmt 0)

Thanks Jim, so I'm now using this and...

SetEnvIf Remote_Addr ^62\.1X6\.106\.86$ ban
<Files *>
order deny,allow
deny from env=ban
</Files>

...links from this site still are able to connect to my server. As I said, many of the images are displaying as Thief.bmp but I'd like to stop them connecting altogether.

I cannot even resolve the address to see who I'd complain to.

<added> My logs show that the ban IS working, logging "denied by server configuration". Guess he's already hijacked so many files, it's hard to distinguish what's missing - LOL.

[edited by: DaveAtIFG at 6:53 am (utc) on Oct. 14, 2003]

jdMorgan




msg:1497439
 2:41 am on Oct 14, 2003 (gmt 0)

keyplyr,

So, now they're using your own pages to hotlink your images?

Okey-dokey... Just add another line:

SetEnvIf Remote_Addr ^62\.1X6\.106\.86$ ban
SetEnvIf Referer ^62\.1X6\.106\.86$ ban
<Files *>
order deny,allow
deny from env=ban
</Files>

You could complain to the hosting provider (if you speak Bulgarian).

Jim

[edited by: DaveAtIFG at 6:53 am (utc) on Oct. 14, 2003]

closed




msg:1497440
 4:54 am on Oct 14, 2003 (gmt 0)

Whoa.

Hate to be the party pooper here, but you guys should really change the address and URL you're working with.

keyplyr




msg:1497441
 6:18 am on Oct 14, 2003 (gmt 0)


You could complain to the hosting provider (if you speak Bulgarian)

Drat - I knew I shoulda took Bulgarian as my undergrad!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved