The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

403 Forbidden Error on website

Discussion in 'General Discussion' started by naqash, Sep 8, 2011.

  1. naqash

    naqash Registered

    Joined:
    Sep 8, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    I have this error on website.

    Forbidden

    You don't have permission to access / on this server.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    I have changed permissions to 777 and 755 but no luck. After checking error log I found this error descriptor: /home/irffanco/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

    Seems like an issue with .htaccess file which doesn't exist in public_html folder. I created a new .htaccess file and changed permissions but the file size of .htaccess remains 0KB.

    Please tell me what should I do.
     
  2. naqash

    naqash Registered

    Joined:
    Sep 8, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    OKay finally resolved the issue .htaccess file was in root directory. After renaming it to .htaccess1 made website work fine.
     
  3. alphawolf50

    alphawolf50 Well-Known Member

    Joined:
    Apr 28, 2011
    Messages:
    186
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    What were the contents of your .htaccess file (which you renamed .htaccess1)? The mere existence of an .htaccess file won't break anything, it is the contents that was giving you the 403 error. By renaming it, you disabled it.
     
Loading...

Share This Page