Forums / General Questions / How can I block specific hacker activity?

How can I block specific hacker activity?

Locked

Started by aminut on 2 Jan 2010, 9:45 AM · Views: 855

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
2 Jan 2010, 9:45 AM
#1
aminut avatar

aminut

New Zenner

Join Date:
Jun 2006
Posts:
15
Plugin Contributions:
0

How can I block specific hacker activity?

Hi All,

I've tried to implement Article 398:
https://www.zen-cart.com/tutorials/index.php?article=398

and article 73:
https://www.zen-cart.com/tutorials/index.php?article=73

both of them related to .htaccess file in the root directory which
I understand this is mystore folder.

I've tested each time one article.

for article 398 I get system error
and for article 73 I get blank page instead of the home page.

Suppose I'm doing something wrong and those fixes should be
applied in different .htaccess files which are located in different folders.
Can someone explain what should I do and where exactly I should apply those fixes?

The server is Apache

Regards
David

2 Jan 2010, 10:04 AM
#2
tino_schlegel avatar

tino_schlegel

Totally Zenned

Join Date:
Nov 2007
Location:
Melbourne, Australia
Posts:
532
Plugin Contributions:
0

Re: How can I block specific hacker activity?

For article 298, you have to replace // with #

# redirects any URL that includes: record_company.php/password_forgotten.php
RedirectMatch Permanent ^/(.*[record_company.php]+)/(password_forgotten.php)$ /page_not_found.php

# redirects any URL that includes: /images/wp- with 'wp-' being anything that ends with '.php'
# this allows for images named such as 'wp-header.jpg' to work
RedirectMatch Permanent ^/(.*[images]+)/(wp-.*\.php)$ /page_not_found.php

The code uses the wrong character to indicate a comment in the .htaccess file.

Dont know what the problem is the with other, since there are many modifications in there. More details please.