Help! 403 Forbidden Message

Discussion in 'Site & Server Administration' started by grhawkins, Apr 2, 2011.

  1. #1
    I also have WordPress installed and I get "You don't have permission to access /wp-admin on this server" as well. This started about about 12:00-1:00am and I haven't been able to resolve the issue! The weird thing is that I haven't changed ANYTHING, why would this start happening? The website is on a shared linux server through ARVIXE Web Hosting.

    I checked the error logs and I see:
    [Sat Apr 02 09:55:26 2011] [error] [client XX.XXX.XXX.202] client denied by server configuration: /home/username/public_html/domain.com/403.shtml
    Code (markup):
    Also, I run vBulletin on a subdomain forum.domain.com and I can access that fine. Any help would be greatly appreciated. I'm missing out on a lot of traffic!
     
    Last edited: Apr 2, 2011
    grhawkins, Apr 2, 2011 IP
  2. grhawkins

    grhawkins Well-Known Member

    Messages:
    74
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    106
    #2
    Figured out the problem. the line "deny from all" was added to the .htaccess and was last edited April 1st at 23:37

    Could this have happened on the server administrators end? Or could someone have accessed the file from the outside compromising the website?
     
    grhawkins, Apr 2, 2011 IP
  3. devonblzx

    devonblzx Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Make sure your .htaccess isn't writable. If it is chmod to 644 then noone but an administrator should be able to write/edit it.
     
    devonblzx, Apr 2, 2011 IP
  4. mitgib

    mitgib Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    .htaccess seems to be a favorite of hackers lately
     
    mitgib, Apr 3, 2011 IP
  5. GlacialGaming

    GlacialGaming Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    The problem is in your .htaccess, Please verify it's all correct.
     
    GlacialGaming, Apr 5, 2011 IP
  6. grhawkins

    grhawkins Well-Known Member

    Messages:
    74
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    106
    #6
    Checked it out. Thanks everyone for the support
     
    grhawkins, Apr 23, 2011 IP