.htaccess changed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • paulC
    Junior Member
    • Mar 2004
    • 20

    .htaccess changed

    For some reason the .htaccess file in a directory was changed from

    RewriteEngine On
    RewriteRule main/(.*)$ main.php?p=$1

    to

    RewriteRule groups/(.*)$ groups.php?p=$1
    RewriteRule main/(.*)$ main.php?p=$1RewriteCond %{HTTP_HOST} ^jalt2004.jalt.org$ [OR]

    causing errors whenever anyone accessed the site. I didn't make this change, and just noticed it today when looking at the error logs, seems to have happened a few days ago. Can anyone offer any ideas as to why this could have happened
  • Jonathan
    Senior Member
    • Mar 2004
    • 1229

    #2
    possibly a sort of hack attack maybe??
    Where hacker came in to modify it etc.

    Not sure; did you edit it recently?
    If so, was it via the cPanel File Manager Editor?
    "How can someone be so distracted yet so focused?"
    - C

    Comment

    • samsam
      Member
      • Mar 2004
      • 79

      #3
      check the permissions on that file

      Re-set the file, and check the permissions on that file too.

      They should be something like 644.

      Now would also be a VERY good time to audit all your permissions, site code. logs and also all your site management practices too ...passwords included.

      Comment

      • paulC
        Junior Member
        • Mar 2004
        • 20

        #4
        looks like it was my stupid...I'm pretty certain I have tracked the problem down to some changes I was making via the WHM. Educational mistake, though; I think I'll update all my passwords and stuff just to be safe. Thanks for the replies.

        Comment

        Working...