Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2006
    Posts
    15
    Plugin Contributions
    0

    Default How can I block specific hacker activity?

    Hi All,

    I've tried to implement Article 398:
    https://www.zen-cart.com/tutorials/i...hp?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. #2
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    541
    Plugin Contributions
    0

    Default Re: How can I block specific hacker activity?

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

    Code:
    # 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.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg