Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Secret Agent
    Guest

    Default 403 forbidden error

    I am getting this error on one account:

    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 did the following...

    removed htaccess file
    /scripts/fixcommonproblems
    /scripts/enablefileprotect
    /scripts/fixquotas
    chmod 755 /home/patri3/public_html
    service httpd restart

    The site is still not working. Any ideas?

    cpanel current
    centos 4.1

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Well, looking in the apache error log would be the first place to look. After checking that and following any errors and fixing them, you could try:

    /scripts/chownpublichtmls
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Secret Agent
    Guest

    Default

    Apache error log shows this:

    [Sat Oct 8 16:11:38 2005] [crit] [client xxx.x91.184.128] (13)Permission denied: /home/patri3/public_html/epicureandigest/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is reada$

    Strange because the htaccess was deleted (comes back by itself) and is default 0644, yet I edited it and it is empty as well.

    I ran that script as well.

    Any ideas?

  4. #4
    Secret Agent
    Guest

    Default

    I'm getting the same now for the two addon domains

    [Sat Oct 8 21:49:50 2005] [crit] [client xxx.194.6.74] (13)Permission denied: /home/patri3/public_html/poetry/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

    There is no .htaccess files in their directories and the directories are default chmodded 750.

    What could it be? I'm so lost on this.

  5. #5
    Secret Agent
    Guest

    Default

    Just to let you know...chmodded the directories to 755 from cpanel's default 750 fixed it

  6. #6
    EMS
    EMS is offline
    BANNED
    Join Date
    May 2003
    Posts
    251

    Default

    Had this probl today - noticed that the /home/USERDIR was set to 744 instead of 711

    wierd !

Similar Threads & Tags
Similar threads

  1. 403 Forbidden Error
    By CMGU in forum New User Questions
    Replies: 5
    Last Post: 06-18-2008, 10:10 AM
  2. 403 Forbidden Error problem! :s
    By gunnerce in forum Data Protection
    Replies: 4
    Last Post: 04-18-2008, 08:30 AM
  3. 403 Forbidden error
    By davidanand in forum New User Questions
    Replies: 2
    Last Post: 01-24-2008, 11:37 PM
  4. My 403 Forbidden Error Need Help
    By Jamie G in forum New User Questions
    Replies: 6
    Last Post: 04-25-2007, 03:35 PM
  5. 403 Error - Forbidden?
    By iHost.net.nz in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 11-16-2004, 03:12 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube