Results 1 to 4 of 4

Thread: .htaccess changed

  1. #1
    Junior Member
    Join Date
    Mar 2004
    Location
    Japan
    Posts
    20

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

  2. #2
    Senior Member Jonathan's Avatar
    Join Date
    Mar 2004
    Location
    Daytona Beach, FL / Rochester, NY / Coeur d'Alene, ID
    Posts
    1,229

    Default

    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

  3. #3
    Member samsam's Avatar
    Join Date
    Mar 2004
    Location
    Australia
    Posts
    79

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

  4. #4
    Junior Member
    Join Date
    Mar 2004
    Location
    Japan
    Posts
    20

    Default

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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