403 Forbidden Error

Discussion in 'Site & Server Administration' started by pratik, Jul 21, 2010.

  1. #1
    hi there,
    I have a website which is showing 403 Forbidden Error...
    All the files are present in the ftp..

    also when i checked the error log in cpanel i got this..

    [Wed Jul 21 01:18:54 2010] [crit] [client 888.888.888.88] (13)Permission denied: /home/bisyell/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
    Code (markup):

     
    pratik, Jul 21, 2010 IP
  2. aquilax

    aquilax Member

    Messages:
    126
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #2
    Check the file rights. They should be readable by the apache user.
     
    aquilax, Jul 21, 2010 IP
  3. pratik

    pratik Notable Member

    Messages:
    2,306
    Likes Received:
    114
    Best Answers:
    0
    Trophy Points:
    200
    #3
    Which file rights should i check?
    htaccess is 777

    and index.html also looks fine...
     
    pratik, Jul 21, 2010 IP
  4. aquilax

    aquilax Member

    Messages:
    126
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #4
    Is this Shared hosting or VPS ?
     
    aquilax, Jul 21, 2010 IP
  5. pratik

    pratik Notable Member

    Messages:
    2,306
    Likes Received:
    114
    Best Answers:
    0
    Trophy Points:
    200
    #5
    Its a shared hosting with cPanel.
     
    pratik, Jul 21, 2010 IP
  6. aquilax

    aquilax Member

    Messages:
    126
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #6
    Try to create an empty index.php file and place it in the root directory.
     
    aquilax, Jul 21, 2010 IP
  7. pratik

    pratik Notable Member

    Messages:
    2,306
    Likes Received:
    114
    Best Answers:
    0
    Trophy Points:
    200
    #7
    i just uplaoded a blank index.php and the site is up and running.. taking data frm index.html... !!!

    the site is up... but i didnt knw what happened!
     
    pratik, Jul 21, 2010 IP
  8. aquilax

    aquilax Member

    Messages:
    126
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #8
    Looks like the .html files are not included in the DirectoryIndex directive or there is something wrong with your index.html file name.
     
    aquilax, Jul 21, 2010 IP
  9. prosta

    prosta Peon

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    can you tell us your site ?
     
    prosta, Jul 21, 2010 IP
  10. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
    #10
    Not a good idea to leave your htaccess file writeable like that. Change it to 644 at the most.
     
    mcfox, Jul 21, 2010 IP
  11. VedoMedia

    VedoMedia Peon

    Messages:
    62
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    make sure when you click on a link to your site that the web browser points exactly to the location and doesnt have extra numbers or figures in front of it....
     
    VedoMedia, Jul 21, 2010 IP
  12. travelguides

    travelguides Peon

    Messages:
    107
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Check to make sure that all folders in this path /home/bisyell/public_html have a minimum of 755 permissions so that they're readable. Maybe your public_html has incorrect permissions.
     
    travelguides, Jul 26, 2010 IP